Skip to content
/ ask-gpt Public

A lightweight Python CLI to chat with OpenAI's GPT models

Notifications You must be signed in to change notification settings

reemhd/ask-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simply ask GPT

A lightweight Python CLI to chat with OpenAI's GPT models.

cli screenshot

Setup

Clone the repo and install Poetry

Install dependencies

poetry install

Copy the example environment file and add your OpenAI API key

cp .env.example .env

To start chatting

poetry run ask-gpt

To quit the chat

\q

To save current chat to a JSON file

\s <filename>

To load a previous chat session from a file

\l <filename>

To clear chat history and start again

\c

Features

  • Chat directly with OpenAI models
  • Maintain conversation history
  • Save, load and clear chat sessions
  • Choose different models (coming soon)

About

A lightweight Python CLI to chat with OpenAI's GPT models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages