Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jiadingfang/cli-gpt

Simple conversational command line GPT with code interpreter capability that you can run locally with OpenAI API to avoid web usage constraints
https://github.com/jiadingfang/cli-gpt

code-interpreter gpt large-language-models

Last synced: about 2 months ago
JSON representation

Simple conversational command line GPT with code interpreter capability that you can run locally with OpenAI API to avoid web usage constraints

Awesome Lists containing this project

README

        

# Command Line GPT with Interactive Code Interpreter.
Simple conversational command line GPT that you can run locally with OpenAI API to avoid web usage constraints.
## Update 08/07/23
Add **interactive** code interpreter similar to the web version GPT-4 with Code Interpreter from OpenAI that goes back-and-forth between code generation and GPT reasoning. This is different from [LangChain Python Agent](https://python.langchain.com/docs/integrations/toolkits/python) or [codeinterpreter-api](https://github.com/shroominic/codeinterpreter-api.git) that only generate code one shot. Only focus on python interpreter with numeric usages for now. There are some examples in the `examples` folder.
## Usage
Export `OPENAI_API_KEY` and run `python gpt_dialogue.py` or `python code_interpreter.py`. There are special commands like "save", "pretext", "reset" in the conversation that you can use for convenience.