Skip to main content

No project description provided

Project description

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.'

alt text

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agenttobenamed-0.1.14.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

agenttobenamed-0.1.14-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file agenttobenamed-0.1.14.tar.gz.

File metadata

  • Download URL: agenttobenamed-0.1.14.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/5.15.133.1-microsoft-standard-WSL2

File hashes

Hashes for agenttobenamed-0.1.14.tar.gz
Algorithm Hash digest
SHA256 d4122d9c0410aad53f54244446cb7f29fde0bb9077adf16df5e4934f534a177f
MD5 8f865a16b677fce69c48f0c0e3a0f5c0
BLAKE2b-256 95220217031034cb1cdf4125ba763665314f802ad6f63ae3b6c8666578ba08df

See more details on using hashes here.

File details

Details for the file agenttobenamed-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: agenttobenamed-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/5.15.133.1-microsoft-standard-WSL2

File hashes

Hashes for agenttobenamed-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 1dfe38c63a7893eefc3c7c5e0703fbba0f5257e42a436c3d6d58867aef890796
MD5 37f909667aa1ab0a1f5ccb21fa39a8f3
BLAKE2b-256 4d55bb63997eb32e9ff67fbf4d32b5e13f00b5e5db9f1a47225005564c7a2fdd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page