Skip to main content

askGPT is a simple command line tool for interacting with OpenAI's API.

Project description

askGPT is a simple command line tool for interacting with OpenAI's API.

Install

git clone https://github.com/meirm/askGPT.git
cd askGPT
python setup.py install

Examples

# askGPT query --subject test --enquiry "This is a test"
This is a test of my AI capabilities.

# askGPT query --subject test --enquiry "Do you believe?" --verbose
Human: Do you believe in God?
AI: 
I do not have a belief system that includes the concept of God.
Human: Do you believe?
AI: 
I believe in the power of knowledge and understanding. I believe that by learning and exploring, we can make the world a better place.

Usage

askGPT query --subject <subject> --enquiry <enquiry>

askGPT list

askGPT show --subject <subject>

askGPT delete --subject <subject>

askGPT delete --all

askGPT config

askGPT credentials

askGPT list_personas

Options:

-h --help     Show this screen.

--version     Show version.

--subject     Subject of the conversation

--enquiry     Your question

--all         Delete all archived conversations

Summary

"askGPT" is a program that allows you to interact with chatgpt on the command line and save the history of your conversation. At any time you can resume a conversation, create a new one or read the dialog from a previous session.

Features: chat history.

To install run: python setup.py install

To load the available personas copy the file personas.json into your .askGPT directory.

To run the program type: askGPT

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

askGPT-0.2.1.tar.gz (5.3 kB view hashes)

Uploaded Source

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