Тёмный

Langchain Agent Toolkits - Pandas DataFrame, JSON and SQL Database Agents 

BugBytes
Подписаться 27 тыс.
Просмотров 8 тыс.
50% 1

In this video, we look at different agent toolkits for Langchain, including:
1. Pandas DataFrame agent - for interrogating Pandas DataFrames
2. JSON Agent - for querying against JSON data
3. SQL Database Agents - for interrogating SQL Databases
We'll look at the concept of a "tool" in langchain, and how agent toolkits combine different tools and make smart decisions at each step of an iterative process.
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
ko-fi.com/bugbytes
📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
02:28 Pandas DataFrame Agent
09:31 JSON Agent
17:15 SQL Database Agent
𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog: bugbytes.io/posts/
👾 Github: github.com/bugbytes-io/
🐦 Twitter: / bugbytesio
📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
Pandas DataFrame Agent: python.langchain.com/docs/mod...
Titanic Dataset: github.com/datasciencedojo/da...
JSON Agent: python.langchain.com/docs/mod...
JSON API Schema: github.com/OAI/OpenAPI-Specif...
SQLDatabase Agent: python.langchain.com/docs/mod...
SQLite Data Starter Packs: 2016.padjo.org/tutorials/sqlit...
#python #langchain #datascience #llm

Опубликовано:

 

7 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@silkogelman
@silkogelman Год назад
These LangChain agents and tools are very interesting, thank you! 😀🙏 Defining a custom tool also looks cool, as interface to your own API backend in Django / FastAPI or so.
@bugbytes3923
@bugbytes3923 Год назад
Thanks Sil!
@Alex-rj6fo
@Alex-rj6fo Год назад
Thank you very much for your work
@bugbytes3923
@bugbytes3923 Год назад
You're welcome!
@MichaelSchwabTX
@MichaelSchwabTX 8 месяцев назад
Thanks for the informative video. I did find it amusing that the AI said females were MORE likely to survive even though they had a LOWER survival score of 2.159 vs the males as 2.389. I suppose we should take this as a cautionary discussion that you really cannot assume it will always give the right answer.
@jhanicoetzee2196
@jhanicoetzee2196 11 месяцев назад
Thanks for the great video! I am running into issues with big datasets and the JSON Agent, that it doesn't consider all the data, just basically that fits into the context window. From my understanding, it is supposed to overcome the context window issue. Any advice on this?
@user-fl4fb3eq5k
@user-fl4fb3eq5k 11 месяцев назад
Thank you for this video! I am having trouble using pandas agent: When I ask for more than one answer in the same question it throws errors at me. If I ask for the name or I ask for the age of the oldest passenger, no problem sending me the result. But if I ask for the name and age of the oldest passenger I get a JSONDecodeError, Thoughts?
@CMAZZONI
@CMAZZONI Год назад
Have you tried using a open source model for this? Most times OpenAi will not be usable, specially if your data contains sensitive or personal information.
@siddharthchoudhury7622
@siddharthchoudhury7622 8 месяцев назад
Please make a video on how to have chat continuation in pandas agent
@theanigos
@theanigos 8 месяцев назад
I am getting this error pydantic.error_wrappers.ValidationError: 1 validation error for JsonToolkit spec value is not a valid dict (type=type_error.dict)
@nitinnegi4277
@nitinnegi4277 8 месяцев назад
i am using sqldatabase toolkit at an enterprise ,data is huge.When i am using this toolkit i am getting max tokens error and query is totally depend upon the toolkit.Can you tell me how to modify sqldatabase toolkit and is this possible to get 100% accuracy?
@sudhanshurathore8713
@sudhanshurathore8713 10 месяцев назад
Hey I am usign Azureopenai LLM model but constantly parsing error. Can you help?
@fasedbikes3299
@fasedbikes3299 11 месяцев назад
have you checked openSSM?seems interesting
Далее
Embedchain - Building resource-driven LLM-powered bots
16:12
WE COOKED A SHRIMP KEBAB  #recipe #barbecue #food
00:21
Просмотров 441 тыс.
Pandas DataFrame Agent... the future of data analysis?
19:42
LangGraph 101: it's better than LangChain
32:26
Просмотров 55 тыс.
Build an SQL Agent with Llama 3 | Langchain | Ollama
20:28
ADVANCED Python AI Agent Tutorial - Using RAG
40:59
Просмотров 127 тыс.