Spaces:
Runtime error
Runtime error
Paras Sharma
commited on
Commit
·
4cbe995
1
Parent(s):
f25bbe0
remove readme
Browse files
Readme.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
| 1 |
-
# CSV Chatbot
|
| 2 |
-
|
| 3 |
-
This is a simple LLM agent that can do simple data analysis over csv data. It generates a python code using pandas library to do the analysis. Then that python code is executed and the output is returned to the user.
|
| 4 |
-
|
| 5 |
-
### Setup
|
| 6 |
-
|
| 7 |
-
```bash
|
| 8 |
-
cp .env.example .env
|
| 9 |
-
|
| 10 |
-
# Edit .env file and add your OpenAI API key
|
| 11 |
-
|
| 12 |
-
pip install -r requirements.txt
|
| 13 |
-
```
|
| 14 |
-
|
| 15 |
-
### Usage
|
| 16 |
-
|
| 17 |
-
```bash
|
| 18 |
-
python main.py
|
| 19 |
-
```
|
| 20 |
-
|
| 21 |
-
### Example
|
| 22 |
-
|
| 23 |
-

|
| 24 |
-
|
| 25 |
-
### Limitations
|
| 26 |
-
* It does not execute the code in a sandbox environment. So, it can execute any code that is written in the python code generated by the agent.
|
| 27 |
-
* Messages history is not taken into account. So, the agent does not have any context of the previous messages.
|
| 28 |
-
* More advanced libraries like langchain can be used to manage complex queries and control flows.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|