Using LangChain with DuckDuckGO Wikipedia & PythonREPL Tools

preview_player
Показать описание

In this video, I go through using some of the recent tools released on LangChain to show how chains work and how they can be combined in an Agent.

For more tutorials on using LLMs and building Agents, check out my Patreon:

My Links:

Github:
Рекомендации по теме
Комментарии
Автор

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.

souvickdas
Автор

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.

tradingwithwill
Автор

Thank you for your time! Langflow might make an interesting video topic :)

autonomousreviews
Автор

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. 🤔

jawi
Автор

very informative; Thank you for sharing these amazing stuffs

AbdennacerAyeb
Автор

Hi,
Great tutorial! There are some changes in the latest LangChain library.

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()

wiseadmin
Автор

By the way, you got any full fledged course for these langchain & using LLMs, apart from this playlist on youtube?

generic-youtube-user
Автор

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.

jipabr
Автор

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.

generic-youtube-user
Автор

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.

forgottenwisdoms
Автор

Hi,

I amm getting outputparser exception for the above code

sandeepsasikumar
Автор

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

adithyabalasubramanian
Автор

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!🥳🦾

klammer
Автор

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.

mattie
Автор

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.

ControlProblem
Автор

since openai key is not free can you estimate how much you used for this video

geniusxbyofejiroagbaduta
Автор

Hello, there is a missing : from langchain.agents import Tool in block 16

stefb
Автор

Thank you, Sam! I am using LangChain in JavaScript. I couldn't find the DuckDuckGo tool available there. Is there any alternative tool?

MorSag
Автор

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?

jaystanio
Автор

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.

wryltxw
welcome to shbcf.ru