Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.12 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.12 KB

Chatbot Code Interpreter

This is a simple app meant to replicate some of the code interpreter capabilities of ChatGPT: it's a chatbot capable of running Python code on the browser. I created because I wanted to analyze and visualize data by "chatting" with it in plain English (see deepshet)

If you're curious, check out the step-by-step tutorial.

Development

  1. Install Python 3.10.
  2. Install Poetry.
  3. From the root folder of the project, install the dependencies:
    poetry config virtualenvs.in-project true
    poetry install
    
  4. Update .env-example with your OpenAI secret key and save it as .env
  5. To start the app, open a terminal in src/app and run litestar run --reload --debug
  6. Go to http://127.0.0.1.

Screenshots

The app looks like this:

License

MIT.