Skip to content

pluveto/askai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AskAI

preview_askai

This is a command-line interface (CLI) tool called AskAI that lets you chat with GPT-3 using OpenAI API. With AskAI, you can ask questions, get help, or just have a conversation.

Prerequisites

Before using AskAI, you need to have an API key from OpenAI. If you already have an API key, you can set it as an environment variable named OPENAI_API_KEY. Alternatively, you can create a file named askai_config.yaml in the same directory as the AskAI executable and add your API key as follows:

api_key: YOUR_API_KEY

Usage

To start chatting with GPT-3, run the following command:

./askai

This will start an interactive session where you can type in your questions or statements. Type help to see a list of available commands.

You can also use AskAI in a simple mode by providing a prompt as an argument:

./askai "What is the meaning of life?"

This will print the response from GPT-3 to stdout.

License

This tool is licensed under the MIT License .

About

Ask AI like chatgpt from command line

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages