Skip to content

Latest commit

 

History

History
59 lines (46 loc) · 2.41 KB

README.md

File metadata and controls

59 lines (46 loc) · 2.41 KB

AI CLI

Provides a cli interface to interact with any AI providers.

Getting Started

Providers

Provider Status Get an API key
Google Google AI Studio
OpenAI OpenAI
Groq Groq
Cohere Cohere
Ai21 Ai21
NLP Cloud NLP Cloud
Ollama Not Required, Just Install
Claude

Commands

Command Description
provider Select a provider
model Select a model
cli Always gives bash/powershell commands
gr Checks for grammar mistakes, provides variants
chat Chat with AI
summary Summarize text
commit Auto generate commit message & does the commit
custom create Create a custom prompt with your own prompt
custom list List custom prompts
<any> Use previously created custom prompt

Usage

ai chat 'What is the capital of France?'
ai chat How is the weather today? # No quotes needed
ai chat # Will ask for input

ai cli 'How to install python?'
ai cli --provider google # Ignores the default provider, and uses google
# Press double enter to exit and get the command to clipboard

ai custom create puppy 'You are a puppy, Only respond with barks'
ai puppy 'What is the capital of France?'
ai puppy -p google -m gemini-1.5-pro 

Installation

git clone https://github.com/anwar3606/ai-helper
cd ai-helper
pip install .