LangChain SQL Database agent with OpenAI to query PostgreSQL

Опубликовано: 07 Октябрь 2024
на канале: Python 360
19,726
199

In this video we discover how to set up the LangChain SQL Database Agent with PostgreSQL and OpenAI using LangChain.

"allowing you to automate essential database operations, streamline workflows, and boost productivity. Learn the best practices for configuring and customizing the agent, empowering you to tailor its behaviour according to your specific requirements."

Tip:
------
SQLDatabaseToolkit(db=db,llm=llm)

Code on GitHub:
--------------------------
https://github.com/RGGH/OpenAI_SQL

Help fund my side project:
--------------------------------------------
❤️ https://ko-fi.com/flightviz

https://python.langchain.com/en/lates...

Become a patron : 🌏   / drpi  

🍺 If you want a fast VPS server with Python installed check out :
https://webdock.io/en?maff=wdaff--170

🦜 LangChain Playlist 🦜
➤    • OpenAI & LangChain & chatGPT  

Into web scraping?
-------------------------------
🌏 10% off ScraperAPI : 🟢 https://bitly.ws/34VEg
◼️ Coupon Code: DRPI10


Pytest with FastAPI course on "TestDriven.io":
-------------------------------------------------------------------------
https://testdriven.io/courses/tdd-fas...
https://testdriven.io/courses/scalabl...
https://testdriven.io/courses/fastapi...


Thumbs up yeah? (cos Algos..)

#OpenAI #SQLDatabaseAgent #langchain