I follow a lot of youtube channels for AI. But I must say and I am sure most of your subscribers will agree that your contents are in another level. Thanks for everything. Can't wait to see your future videos on conversating chatbots (Agent simulation) to produce a remarkable things.
@jawi2030
Жыл бұрын
I would be really interested in using models like alpaca 7b that you can self host for this kind of application and see if the performance of these 'small' models would actually suffice. 🤔
@AnmAtAnm
Жыл бұрын
LangChain works with several LLMs, including llama derivatives.
@jawadmansoor6064
Жыл бұрын
Yes, use Vicunia 7B, or would you wait for red pajamas?
@s.patrickmarino7289
Жыл бұрын
@@jawadmansoor6064, I would say, play with several of them before you start training the model with your custom data.
@randomNunber
Жыл бұрын
I actually tested it on Gpt4all 7B 4bit, vicuna 7B 4 but (llama based) models, frankly it was not correctly working, i tested it on the python_repl by parsing a CSV file and asking it to find the rows of the CSV, but unfortunately it didn't pass the correct python code to do that, but it correctly identified that it should use the pandas library and dataframe method. It was looping again and again for ever with each time giving a wrong response. I think we should do further testing and i am sure that larger model like the vicuna 13B or the Openassistant 30B model will work correctly(i was not able to test the bigger model as am resource limited)
@jawadmansoor6064
Жыл бұрын
@@randomNunber thank you for tests and reporting results
Getting this error when trying to query something from duckduckgo search-error code : 60 , 'SSL certificate problem: unable to get local issuer certificate' Any way to solve this? Please help me
@wiseadmin6790
8 ай бұрын
Hi, Great tutorial! There are some changes in the latest LangChain library. Warning:```LangChainDeprecationWarning: The function `initialize_agent` was deprecated in LangChain 0.1.0 and will be removed in 0.2.0. Use Use new agent constructor methods like create_react_agent, create_json_agent, create_structured_chat_agent, etc. instead. How to create_react_agent instead of calling initialize_agent()
@samwitteveenai
7 ай бұрын
Check out my 1st video on LangGraph it has some of these there
@geniusxbyofejiroagbaduta8665
Жыл бұрын
since openai key is not free can you estimate how much you used for this video
@0xOrganix
Жыл бұрын
less than 2 cents
@samwitteveenai
Жыл бұрын
for this video it would be low , in cents (probably 5-10cents max)
@tradingwithwill7214
Жыл бұрын
Helpful video. I did a zapier chain with the langchain example where i set up find email and send email. It would send the email but i was asking for summaries of stoicism and it wasn’t creating a summary in the email. Then when i had find and send email zapier calls it seemed to be calling the send email without the find email first but i could never get it to fill in the email properly. Not sure how to debug these natural language bugs.
@mikew2883
Жыл бұрын
Good stuff! Excellent video! 👍
@jipabr
Жыл бұрын
Hi! Is there any way to make the wikipediaAPIwrapper print the output on another language(french, spanish, etc...)???? And for the DuckDuckGo tool, is there any way to set the country for searching information??? For example, if I live in Germany and I ask the engine to tell me when Germany's next football match will take place, I would like the engine to tell me Germany's time and not USA's.
@CodeJana
Жыл бұрын
Hi there, I have recently started getting into langchain & your video is immensely helpful. But I had received an error on Windows machine when I installed Langchain & imported it. Error was pexpect has no method called spawn. I've put up a solution video for it on my channel. I hope the video will be helpful for everyone. Thanks a ton for your video though. Langchain Pexpect Error Solution video: kzitem.info/news/bejne/yXmA332KhGOanKg
@stanTrX
5 ай бұрын
Hi sam, is this still valid & useful after one year. Or are there better tools around.another thing i dont get it clearly is whats the difference with crewai or autogen for ins.
@stanTrX
4 ай бұрын
i've tested it and getting errors for specfying the tools. probably some updates with the libraries : //
@autonomousreviews2521
Жыл бұрын
Thank you for your time! Langflow might make an interesting video topic :)
@samwitteveenai
Жыл бұрын
totally agree the issue with this is how to put it in a colab for people to play with it. I always try to release some code so people can try it out themselves. I need to look at it again.
@autonomousreviews2521
Жыл бұрын
@@samwitteveenai My thought was that perhaps for some of your vids, you have a little segment that translates the usage to langflow so that we can see how to begin to string graphical nodes together to get the same kind of outcomes that you're showing with your code bits? Thanks again for making all this more accessible for the 'common man' :)
@generic-youtube-user
Жыл бұрын
By the way, you got any full fledged course for these langchain & using LLMs, apart from this playlist on youtube?
@brianrowe8424
Жыл бұрын
from langchain.agents import Tool was missing from the notebook..
@sandeepsasikumar701
9 ай бұрын
Hi, I amm getting outputparser exception for the above code
@0xOrganix
Жыл бұрын
Incredible Content!!!
@dongwon2216
Жыл бұрын
Hi, I just found "Tool" was not defined in your notebook!
@samwitteveenai
Жыл бұрын
I just updated the the notebook now. Thanks to you and others who pointed this out.
@generic-youtube-user
Жыл бұрын
hi Sam! Good tutorial. I have a question- let's say i'm going custom to use the python tool to answer queries out of a pandas dataframe. How can I do this? Should there be two tools, one which generates python commands and one PythonREPL tool? I'm actually looking into custom tool since the langchain's pandas agent does NOT seem to be supporting 'memory' so it can't really be used in a chatbot as it needs to be reminded of the context again and again.
@MorSag
Жыл бұрын
Thank you, Sam! I am using LangChain in JavaScript. I couldn't find the DuckDuckGo tool available there. Is there any alternative tool?
@samwitteveenai
Жыл бұрын
There is a the paid GSERP tool for google searches. You could also write one reasonably easily by modifying something like DuckDuckScrape
@rodluc2001
Жыл бұрын
Top video! really perfect. thanks
@hiranga
Жыл бұрын
For some reason, when I run `!pipenv install langchain` in my jupyter notebook, I keep getting version 0.0.131 . Any idea why its not installing the latest by default?
@samwitteveenai
Жыл бұрын
try pip install --upgrade langchain
@Ryan-yj4sd
Жыл бұрын
Why would the prompts not use ChatOpenAI? Isn't it 10 times cheaper?
@samwitteveenai
Жыл бұрын
check out the video after this I did it with turbo and explained the issues and differences.
@forgottenwisdoms
Жыл бұрын
I would love to make a tool that speeds up image search. Basically it would be great to type someones name or a city ect and immediately get images of the prompt.
@jaystanio
Жыл бұрын
Do langchain agents have the ability to access vector databases for custom knowledge that the user set (like the pdf example you had in another video)? If so, which tool would that be in langchain?
@samwitteveenai
Жыл бұрын
Yes you can do that in the same way as the PDF vid, but use an external vector store like Pinecone etc
@user-wr4yl7tx3w
Жыл бұрын
Why does Google API even cost money? Since Google search is free anyway.
@samwitteveenai
Жыл бұрын
its actually a 3rd party that runs the API
@user-wr4yl7tx3w
Жыл бұрын
Does it use OpenAI LLM to reason which tool to use given a task? Not sure which line of code actually does this reasoning. I guess it is inside the zeroshot function. It is done behind the scene.
@samwitteveenai
Жыл бұрын
Yes the OpenAI model is what is deciding via text generation which tool it should use. the LangChain filters for that in the background.
@ControlProblem
Жыл бұрын
Is there a hidden prefix for the prompt that tells the LLM how to use tools in general? That presumably is not native knowledge and is a Langchain feature.
@AnmAtAnm
Жыл бұрын
The actual prompt is shown at 7:27
@stefb69
Жыл бұрын
Hello, there is a missing : from langchain.agents import Tool in block 16
@mattie3875
Жыл бұрын
Have you taken a look at the cataclysm library? Also would love your thoughts on my chatsnack module, more for ez ChatGPT usage-- not as advanced as langchain, though.
@samwitteveenai
Жыл бұрын
Chatsnacks looks interesting will check it out.
@AbdennacerAyeb
Жыл бұрын
very informative; Thank you for sharing these amazing stuffs
@forgottenwisdoms
Жыл бұрын
This doesn't seem to be working very well. I I keep getting errors.
@samwitteveenai
Жыл бұрын
Yeah they changed the API for this the day after I released the video. I will update the code over the next few days.
@micbab-vg2mu
Жыл бұрын
Great video - thank you:)
@bseddonmusic1
Жыл бұрын
You are prolific!
@ratral
Жыл бұрын
Thanks. 👍
@jawadmansoor6064
Жыл бұрын
LangChain is AGI or a step towards it.
@samwitteveenai
Жыл бұрын
:D not quite but it's pretty cool.
@AiEdgar
Жыл бұрын
Can I have langchanin running on a notebook on my computer and I put a prompt like via api and get the response?
@samwitteveenai
Жыл бұрын
yes if you code it up to do that.
@AiEdgar
Жыл бұрын
@@samwitteveenaiThanks, Witteveen would you happen to know which commands I need for the API ?
@samwitteveenai
Жыл бұрын
I am not sure I understand what you are trying to do if you want to run your langchain app as an API that can be called via http etc you could use FastAPI or Flask and then expose a port.
@AiEdgar
Жыл бұрын
@@samwitteveenai yes that's exactly it, I will use FastAPI thank you.
@adriangabriel3219
Жыл бұрын
Have you tried open source models with this as well?
@samwitteveenai
Жыл бұрын
almost all don't work on these base prompts unfortunately.
@adriangabriel3219
Жыл бұрын
@@samwitteveenai thank's for the feedback. Are there potential data sets that could be used for fine tuning for these prompting tasks?
@samwitteveenai
Жыл бұрын
@@adriangabriel3219 not that are public AFAIK, I am looking at releasing a model for this.
@adriangabriel3219
Жыл бұрын
@@samwitteveenai could you elaborate a bit on how the data looks like that you are using for fine-tuning? So how do the instructions look like? Are you using open-source models to generate your training data? Have you used models like Dolly or OpenAssistant together with a sample seed to generate datasets? Could you make a video on that if so? I have tried Dolly extensively together with the approach from the Alpaca model (175 sample questions -> then generate more instructions based on those samples) and it failed miserably.
@geniusxbyofejiroagbaduta8665
Жыл бұрын
does openai key cost alot
@0xOrganix
Жыл бұрын
i disagree, ran it 2 days straight around $15.00 usd
@samwitteveenai
Жыл бұрын
for this video it would be low , in cents (probably 5-10cents max)
@klammer75
Жыл бұрын
Do you think we can get around the chat confusion of tool use, I’ve also seen this issue in my experiments, by being more concise and provide examples within the tool description? That’s again for all your hard work and love the content!🥳🦾
@andresnino3215
Жыл бұрын
very good videos bro, how can I contact you, I think we can do something great.
Пікірлер: 80