This PR adds a .gitignore file and updates thesql_agent.ipynb` notebook.
.gitignore
A `.gitignore file is added to the repository to specify intentionally untracked files and directories. This helps to keep the repository clean and prevents accidentally committing sensitive files.
sql_agent.ipynb
The notebook is updated to demonstrate two ways of setting up a SQL agent:
Using the create_sql_agent abstraction from langchain-cohere.
Using the Cohere ReAct Agent from `langchain.
The notebook showcases how to use these agents to answer questions over SQL databases seamlessly with langchain's existing SQLDBToolkit. It includes code snippets and explanations for setting up the agents, loading the Cohere API key, and invoking the agents to query and manipulate data from a sample database.
This PR adds a
.gitignore file and updates the
sql_agent.ipynb` notebook..gitignore
A `.gitignore file is added to the repository to specify intentionally untracked files and directories. This helps to keep the repository clean and prevents accidentally committing sensitive files.
sql_agent.ipynb
The notebook is updated to demonstrate two ways of setting up a SQL agent:
create_sql_agent
abstraction fromlangchain-cohere
.Cohere ReAct Agent
from `langchain.The notebook showcases how to use these agents to answer questions over SQL databases seamlessly with
langchain
's existingSQLDBToolkit
. It includes code snippets and explanations for setting up the agents, loading the Cohere API key, and invoking the agents to query and manipulate data from a sample database.