Рет қаралды 4,312
#openai #langchain #langchainjs
Agents are one of the most important features of Langchain and extremely fun to use.
We can give our agent an instruction, and it will use the power of LLM's and Tools to figure out the actions to take, the sequence of events and then use tools the achieve it's goals.
☕ Buy me a coffee:
www.buymeacoffee.com/leonvanzyl
📑 Useful Links:
Langchain JS docs: js.langchain.com/docs/get_sta...
Source Code: github.com/leonvanzyl/langcha...
Tavily Search API: app.tavily.com/home
Langsmith: www.langchain.com/langsmith
💬 Chat with Like-Minded Individuals on Discord:
/ discord
🧠 I can build your chatbots for you!
www.cognaitiv.ai
🕒 TIMESTAMPS:
00:00 - Intro
00:27 - Project setup
01:25 - Agent Scratchpad
02:06 - Create Agent
02:59 - Agent Types
03:31 - Agent Executor
04:21 - Invoking Agent
04:39 - Adding Tavily Search Tool
05:40 - Tavily Search API
06:23 - Get Input from Terminal
09:41 - Adding Chat History
12:49 - Langsmith
13:40 - Adding retriever as tool
17:00 - Thank you