💬 Join the Discord Help Server: link.alejandro-ao.com/981ypA ❤ Buy me a coffee (thanks): link.alejandro-ao.com/YR8Fkw ✉ Join the mail list: link.alejandro-ao.com/o6TJUl
@jacobgoldenart8 ай бұрын
Great Video! I actually coded along with the whole thing! I've been trying to get to grips with the new update and the LCEL syntax. Some topics I would love to see videos for are: 1. Runnables, RunnableParallel, RunnablePassthrough(), Runnable protocol... So many runnable things! : ) 2. Interface, is that like a wrapper for things you chain together? like Prompt | LLM | etc... 3. I'm still confused about the difference between a Chain and an Agent and how/when they work together, like can you use chains with agents or vice versa... 4. Finally, I'd love to see a video for a Conversational Agent that does function calling/tools, where the chat history is sent to a vector db and can then be retrieved as context, so that the agent can learn things over time. Thats my wish list! Thanks again.
@alejandro_ao8 ай бұрын
hey Jacob, i'm glad you found this useful! thanks a lot for the list! i'll try to make videos about this. you can join the discord if you want to follow the news of the channel closely: link.alejandro-ao.com/discord
@BrandonFoltz8 ай бұрын
And you are back! This made my day.
@alejandro_ao8 ай бұрын
hello Brandon! thanks! :) so nice to see you around here again!
@cheattube8 ай бұрын
super, i was doig the same thing yesterday and then yt showed me your video:).... exellent work , WATING FOR THE NEXT CHAPTER
@alejandro_ao8 ай бұрын
we're in sync 😎
@arashkoushkebaghi14326 ай бұрын
Dude, I love your content. Your work addresses real world problems which is what I have been looking for. Thank you! Also you are very good at explaining these advanced terms to dumb it down for us beginners ❤. Can you make some videos about image processing with langchain?
@alejandro_ao6 ай бұрын
thank you for your support!! i will be making some videos about image processing indeed. it's something that i wanted to do for a while
@meetvasa69556 ай бұрын
Hey Please upoad the Agent and other stuffs video too , its very helpful!! Also a request to cover Langsmith and Langserve !! Itll give a upperhand
@shivamrawat1086 ай бұрын
Great Tutorial! How can we modify this so that we get context from all the hyperlinks inside a website! Is it possible??
@alejandro_ao8 ай бұрын
Do you prefer that I use Google Colab in the videos or that I create an app with a graphical user interface?
@tonyblack21418 ай бұрын
An app with GUI will be most appreciated mate. Thanks
@chibuzoemelike64038 ай бұрын
An app will be great
@sanjayojha18 ай бұрын
UI will be much better.
@guruprasannasuresh38938 ай бұрын
GUI is the most preferrable and the way you organize and converting into the final product stands out of all. Thanks
@Mercurion428 ай бұрын
Great video! Would love to see a video with a GUI.
@swiftmindai8 ай бұрын
Thank you brother. Truely saved my time.
@alejandro_ao8 ай бұрын
Glad to hear it!
@ratral8 ай бұрын
Alejandro, thank you. Excellent work.
@alejandro_ao8 ай бұрын
i´m glad you liked it!! there's much more to come
@danielmacedo19108 ай бұрын
Thanks for the video, man!! It's great! Your content is very good and you also provide a great explanation!! Keep going!! Also, could you create a tutorial with a RAG agent with this new version of langchain? 😊
@alejandro_ao8 ай бұрын
thank you man! will do, it's coming soon!
@neilmcd1236 ай бұрын
Loving the content! Thanks! Also, Can you create this with a streamlit interface?
@alejandro_ao6 ай бұрын
here you go! Tutorial | Chat with any Website using Python and Langchain (LATEST VERSION) kzbin.info/www/bejne/mKbTqWNuj8yGfMk
@siavoshoon8 ай бұрын
Thank you for this video. It was so informative and well-made.
@alejandro_ao8 ай бұрын
thanks! i'm glad it was useful!
@harshyadav11908 ай бұрын
Thanks man, waiting for next part
@alejandro_ao8 ай бұрын
Coming soon!
@moonly37817 ай бұрын
Thank you for this great Tutorial! As far as I know, FAISS uses the inner product (dot product) and L2 (Euclidean) distance as standard metrics for similarity search. However, I'm curious if it's possible to use cosine similarity with FAISS instead. Would utilizing cosine similarity be more beneficial, especially considering its advantages with higher-dimensional vectors?
@alessandroabaza41187 ай бұрын
Best explanation I've seen!
@alejandro_ao7 ай бұрын
thanks!
@smtabatabaie6 ай бұрын
Super useful man, thanks
@alejandro_ao6 ай бұрын
thanks man, glad it helped!!
@michaelwallace47577 ай бұрын
Thanks for the video tutorial.
@alejandro_ao7 ай бұрын
No worries!
@juanmanuelcarrillo77316 ай бұрын
Good video 👍
@alejandro_ao6 ай бұрын
thanks!
@MyXRLearning8 ай бұрын
Amazing videos! Would you please do one tutorial about how to bring the data from an API and make a vector store?
@alejandro_ao8 ай бұрын
thanks! what kind of data would you like to fetch from the API?
@MyXRLearning8 ай бұрын
@@alejandro_ao Thanks for your reply. I'm looking to fetch data in the form of JSON structures and then go from that to make the vector storage in order to make a RAG about the fetched data. :)
@lordareello82218 ай бұрын
bro thanks alot, this is soooo useful
@alejandro_ao8 ай бұрын
that's great to hear! you're welcome :)
@tancheeken8 ай бұрын
Personally I find Langchain difficult to use and the documentation is pretty bad. I think Microsoft autogen approach to framework is much better.
@sanjayojha18 ай бұрын
The layer of abstraction is really annoying. Have you tried alternatives like llamaIndex and haystack?
@alejandro_ao8 ай бұрын
LlamaIndex is awesome, i'm preparing some hands-on tutorials on it
@sachinp88477 ай бұрын
Also create a video explaining the difference between them please
@guruprasannasuresh38938 ай бұрын
Awesome. I'm excited that you are back !!! Thanks Desperately waiting for the next chapter 😀
@alejandro_ao8 ай бұрын
thank you! it's coming next week :)
@KARAN_RANA367 ай бұрын
CSV Was removed how to perform CSV Al in lahgchain now please video
@alejandro_ao7 ай бұрын
yeah, that video really needs an update. i'm working on it!
@henkhbit57488 ай бұрын
Thanks for the update of Langchain. Quite a lot changes in the syntax. Looking forward with open source llm and embeddings with agents using the new Langchain👍
@alejandro_ao8 ай бұрын
sure thing, it's on the way!
@NavjotMakkar7 ай бұрын
How to deploy the conversational retrieval chain using langserve so that I can play around with langserve playground feature. I tried to create the chain specifying input type as- class Input(BaseModel): input: str chat_history: List[BaseMessage] . But I am getting unknown messag type error when it is trying to run the retriever_prompt.
@mygicarskrsk44658 ай бұрын
thanks for making these awesome videos, it helps alot to understand the concepts and you are very clear n concise. keep it up!🎉
@alejandro_ao8 ай бұрын
i'm glad to hear that this is useful to you! will do!
@amineinfo58105 ай бұрын
Can we use load qa chain function for RAG ?
@kaidone18 ай бұрын
thank god you still make videos
@alejandro_ao8 ай бұрын
thanks! i’m doing this full time now! let me know what you want to see next :)
@kaidone18 ай бұрын
@@alejandro_ao i failed to save a vectorstore locally and use them with a different conversation chain. Main goal was to save money, because it was the same big file I processed, just different questions. I think you made a video with cloud solution once, but I would prefer a local one
@alejandro_ao8 ай бұрын
@@kaidone1 there's a chapter about this next week's video :)
@samcavalera94898 ай бұрын
Thanks so much bro for all your great videos! I got to know your channel only 2 weeks ago, and since then, I have been watching and practising your tutorials from early 2023. Please don't stop thw great work! Can't wait to watch the app version of thia RAG tutorial with agent 😃
@alejandro_ao8 ай бұрын
thank you man, it means a lot! keep it up! we are living in exciting times
@samcavalera94898 ай бұрын
@@alejandro_ao 🙏🙏🙏
@laxmiagarwal32854 ай бұрын
which model are you using? is it GPT-3.5
@alejandro_ao4 ай бұрын
in this video, mostly gpt3-turbo, yes. but you can change that as a parameter when you initialize your LLM
@CherifRahal8 ай бұрын
What is the limit of the documents we can train with this method ?
@alejandro_ao8 ай бұрын
there is virtually no limit! however, for super long knowledge bases, you might need some additional tuning rather than a simple RAG algorithm. this is true especially if you have several thousand pages worth of knowledge and the concepts are scattered across them. i'll make some tutorials on that
@CherifRahal8 ай бұрын
@@alejandro_ao Thanks, I have like word documnets, sharepoint and pdf, I just want to search for something without m ehaving to go through each file, just interact with a simple chat interface. And also I work usually with Vscode, do you think it is good or should I switch to Jupiter ?
@reubensolomon90477 ай бұрын
I am impressed with your video. it was Simple, practical, and easy to follow, I've been watching tutorials on how to use Langchain but this is the best I've seen so far. I'm waiting for the app version. Keep doing the good work Alejandro.
@oooooohmygoood-xu1nm8 ай бұрын
"I come from across the ocean, where we lack video tutorials, so I'm really fortunate to have found such high-quality videos. More importantly, I hope everything goes well for the creator😉"
@alejandro_ao8 ай бұрын
hey there thank you
@laxmiagarwal32854 ай бұрын
very informative video
@alejandro_ao4 ай бұрын
thanks!
@Vedmalex8 ай бұрын
классное видео! есть с чего начать
@alejandro_ao8 ай бұрын
Спасибо!
@Sarkkoth8 ай бұрын
Thank you for this. With the recent changes it's been so hard to find updated tutorials.
@alejandro_ao7 ай бұрын
No worries!
@udaynj5 ай бұрын
Seems that agents are built on top of langchain chains. So do you need this if you are using agents?
@alejandro_ao5 ай бұрын
hey there, agents are similar to chains, but they are not actually built on top of them. they use LCEL as well and can perform multi-step procedures, but they are much more flexible. a chain will always have the steps pre-defined (as you see here). an agent will use a LLM to decide the next step to take. i hope this helps!
@udaynj5 ай бұрын
@@alejandro_ao Thanks Alejandro. That helps. One more question if you don't mind - can you use agents to chain LLM and non-LLM models, since in the real world, not everything will need an LLM model. So say I have a xgboost time series model, but want to interconnect that with an LLM, is that possible? If so, would love to see an example of that
@alejandro_ao5 ай бұрын
@@udaynj Absolutely! What you would have to do here is, first, decide if you are going to create a chain or an agent. If this is a chain, then you can create a function that applies your time series model and use it inside your chain. In this video, I created a custom function and added it inside a chain (not a ML model, but it would work pretty much the same): kzbin.info/www/bejne/b5TGnWSVjNplarM If you are going for an agent, you will have to create tool that applies that time series model. This would be pretty similar to the function for a chain, but it would be decorated with the decorator @tool by langchain and passed in to your agent. Here is a video where I show how to create a team of agents and create their tools (you would have to create your own function that outputs the prediction of your time series model): kzbin.info/www/bejne/oXO7inmXj5V4hJI cheers!
@udaynj5 ай бұрын
@@alejandro_ao Thanks for the replies and the video links, Alejandro. Appreciate the detailed responses. You are an amazing teacher. Cheers from the US
@rmjjanssen26458 ай бұрын
Awesome videos….just wondered why you used colab instead of the python runtime environment explained in some video before? Presumably to execute the code samples on the fly? Can you explain when to use either of these? Not sure I totally grasped the Faiss step? Anyhow would love some video’s in future on training your own models and some on the use of hugging face? Keep up the good work
@alejandro_ao8 ай бұрын
hello there! actually, in the next video i'm showing how to do this with a local python runtime! you're right, the idea behind using a google colab is precisely to execute the code snippets on the fly. also to be able to share the code with you in a single link :) for a real app, you would use your python runtime. the video about that is coming tomorrow!
@priyanshuaggarwal90378 ай бұрын
Could you explain the difference between conversation retrieval chain and retrieval qa chain?? And which is better with a memory component?
@alejandro_ao8 ай бұрын
hey there. sure. the regular retrieval chain that i built here does not consider the previous messages of the conversation. it's like you were starting a new conversation with every new message. on the other hand, the conversational chain that we built here, takes into account the past messages of the conversation every time. that's why in the example i sent the chat history alongside the message "tell me more about it!". if we send that message to the regular retrieval chain, it will have no idea what we are talking about.
@LORENZOARCANGELI-rp4hl8 ай бұрын
Really really nice video. What about the create an agent phase?
@alejandro_ao8 ай бұрын
Thank! Coming soon!
@SanjeevKumar-dr6qj7 ай бұрын
Awesome. You have always somehting great to offer us.
@alejandro_ao7 ай бұрын
it's my pleasure! there's more to come
@bwilliams0608 ай бұрын
Thanks AO - looking forward to your next video!
@alejandro_ao8 ай бұрын
thank *you*!
@Matepediaoficial8 ай бұрын
So interesting! Nice to see you again
@alejandro_ao8 ай бұрын
thanks! nice to see you too :)
@jimg82967 ай бұрын
Totally Awesome, thank you.
@alejandro_ao7 ай бұрын
glad you liked it!
@chibuzoemelike64038 ай бұрын
That you so much for this video, please can you create a video of using slack channel or google chat data with LangChain?
@alejandro_ao8 ай бұрын
no worries! you mean like asking questions about a slack conversation history? or more like a chatbot inside slack?
@chibuzoemelike64038 ай бұрын
@@alejandro_ao yeah queries about slack history, this bot can just be outside slack, maybe a web page
@chibuzoemelike64038 ай бұрын
@@alejandro_ao Yes asking questions about a channel conversation history. The chatbot can be outside slack or integrated to slack.