Skip to content

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

License

Notifications You must be signed in to change notification settings

jiadingfang/cli-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 or codeinterpreter-api 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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages