cmdlai
v1.0.4
Published
A simple command line interface for communicating with openAI gpt models.
Downloads
14
Maintainers
Readme
cmdlai (Command Line Artificial Intelligence)
A simple command line interface for communicating with openAI gpt models.
Install
To install globally, use:
npm i -g cmdlai
Usage
cmdlai [command]
Commands:
- chat: Start a conversation with the AI assistant. This command will enter an interactive chat session.
- setApiKey: Set your OpenAI API key. This will prompt you to enter and save your OpenAI API key for future requests.
- setModel: Set the OpenAI model to use for your requests. You will be shown a list of supported models to choose from.
- setContextLength: Set the context length for conversations. This will determine how many messages the AI assistant will remember.
- help: Show the help message.