A minimalistic LLM agent for Exploratory Data Analysis (EDA) using pandas library
Task: given a CSV or a XLSX file, respond to user's query about this table by generating a python code and executing it.
- Using LangChain routers/tagging, a prompt type will be established: to produce a plot or to compute the numerical values.
- The GPT model breaks down the user's request into several subtasks.
- The LLM generates code based on these subtasks.
- The code is executed using the python REPL.
- If the REPL throws an error, GPT will begin debugging until resolved.
- The result is the string output of the code 'print(result)' + optionally, saved image with a plot.
Query example: 'Find correlation between GDP and happiness index, subtract 0.4 and multiply by 1e6.'
Release files for agenttobenamed 0.1.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agenttobenamed-0.1.14.tar.gz | 9.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agenttobenamed-0.1.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.6 kB
Release files / agenttobenamed-0.1.14.tar.gz
| Download URL | agenttobenamed-0.1.14.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4122d9c0410aad53f54244446cb7f29fde0bb9077adf16df5e4934f534a177f
|
|
BLAKE2b-256 checksum How to use checksums |
95220217031034cb1cdf4125ba763665314f802ad6f63ae3b6c8666578ba08df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.12 Linux/5.15.133.1-microsoft-standard-WSL2
|
Release files / agenttobenamed-0.1.14-py3-none-any.whl
| Download URL | agenttobenamed-0.1.14-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1dfe38c63a7893eefc3c7c5e0703fbba0f5257e42a436c3d6d58867aef890796
|
|
BLAKE2b-256 checksum How to use checksums |
4d55bb63997eb32e9ff67fbf4d32b5e13f00b5e5db9f1a47225005564c7a2fdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.12 Linux/5.15.133.1-microsoft-standard-WSL2
|