Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ pinned: false
|
|
| 12 |
|
| 13 |
# AgentGraph: Intelligent SQL-agent Q&A and RAG System for Chatting with Multiple Databases
|
| 14 |
|
| 15 |
-
This project demonstrates how to build an agentic system using Large Language Models (LLMs) that can interact with multiple databases and utilize various tools. It highlights the use of SQL agents to efficiently query large databases. The key frameworks used in this project include
|
| 16 |
|
| 17 |
---
|
| 18 |
|
|
@@ -26,7 +26,7 @@ Automating LLM Agents to Chat with Multiple/Large Databases (Combining RAG and S
|
|
| 26 |
## Requirements
|
| 27 |
|
| 28 |
- **Operating System:** Linux or Windows (Tested on Windows 11 with Python 3.9.11)
|
| 29 |
-
- **
|
| 30 |
- **Tavily Credentials:** Required for search tools (Free from your Tavily profile).
|
| 31 |
- **LangChain Credentials:** Required for LangSmith (Free from your LangChain profile).
|
| 32 |
- **Dependencies:** The necessary libraries are provided in `requirements.txt` file.
|
|
@@ -61,7 +61,7 @@ To set up the project, follow these steps:
|
|
| 61 |
|
| 62 |
6. Download the chinook SQL database from this link and paste it into the `data` folder.
|
| 63 |
|
| 64 |
-
7. Prepare the `.env` file and add your `
|
| 65 |
|
| 66 |
8. Run `prepare_vector_db.py` module once to prepare both vector databases.
|
| 67 |
```bash
|
|
@@ -154,7 +154,7 @@ Once your databases are ready, you can either connect the current agents to the
|
|
| 154 |
- **LangGraph**
|
| 155 |
- **LangSmith**
|
| 156 |
- **Gradio:** [Documentation](https://www.gradio.app/docs/interface)
|
| 157 |
-
- **
|
| 158 |
- **Tavily Search**
|
| 159 |
---
|
| 160 |
|
|
@@ -168,11 +168,9 @@ docker build -t querymind .
|
|
| 168 |
### Run the container
|
| 169 |
```bash
|
| 170 |
docker run -p 7860:7860 \
|
| 171 |
-
-e OPENAI_API_KEY=your_key \
|
| 172 |
-e GROQ_API_KEY=your_key \
|
| 173 |
-e TAVILY_API_KEY=your_key \
|
| 174 |
-
-e
|
| 175 |
-
-e LANGCHAIN_TRACING_V2=true \
|
| 176 |
querymind
|
| 177 |
```
|
| 178 |
|
|
|
|
| 12 |
|
| 13 |
# AgentGraph: Intelligent SQL-agent Q&A and RAG System for Chatting with Multiple Databases
|
| 14 |
|
| 15 |
+
This project demonstrates how to build an agentic system using Large Language Models (LLMs) that can interact with multiple databases and utilize various tools. It highlights the use of SQL agents to efficiently query large databases. The key frameworks used in this project include GroqAI, LangChain, LangGraph, LangSmith, and Gradio. The end product is an end-to-end chatbot, designed to perform these tasks, with LangSmith used to monitor the performance of the agents.
|
| 16 |
|
| 17 |
---
|
| 18 |
|
|
|
|
| 26 |
## Requirements
|
| 27 |
|
| 28 |
- **Operating System:** Linux or Windows (Tested on Windows 11 with Python 3.9.11)
|
| 29 |
+
- **Groq API Key:** Required for GPT functionality.
|
| 30 |
- **Tavily Credentials:** Required for search tools (Free from your Tavily profile).
|
| 31 |
- **LangChain Credentials:** Required for LangSmith (Free from your LangChain profile).
|
| 32 |
- **Dependencies:** The necessary libraries are provided in `requirements.txt` file.
|
|
|
|
| 61 |
|
| 62 |
6. Download the chinook SQL database from this link and paste it into the `data` folder.
|
| 63 |
|
| 64 |
+
7. Prepare the `.env` file and add your `GROQ_API_KEY`, `TAVILY_API_KEY`, and `LANGCHAIN_API_KEY`.
|
| 65 |
|
| 66 |
8. Run `prepare_vector_db.py` module once to prepare both vector databases.
|
| 67 |
```bash
|
|
|
|
| 154 |
- **LangGraph**
|
| 155 |
- **LangSmith**
|
| 156 |
- **Gradio:** [Documentation](https://www.gradio.app/docs/interface)
|
| 157 |
+
- **GroqAI**
|
| 158 |
- **Tavily Search**
|
| 159 |
---
|
| 160 |
|
|
|
|
| 168 |
### Run the container
|
| 169 |
```bash
|
| 170 |
docker run -p 7860:7860 \
|
|
|
|
| 171 |
-e GROQ_API_KEY=your_key \
|
| 172 |
-e TAVILY_API_KEY=your_key \
|
| 173 |
+
-e LANGCHAIN_API_KEY=your_key \
|
|
|
|
| 174 |
querymind
|
| 175 |
```
|
| 176 |
|