A powerful CLI tool for interacting with various AI models
Project description
Based CLI
A powerful CLI tool for interacting with various AI models including OpenAI, Anthropic, Mistral, Groq, and Hugging Face.
Features
- Multiple AI providers support
- Customizable system prompts
- Chat history management
- Interactive configuration
- Beautiful terminal UI
Installation
- Clone the repository:
git clone <repository-url>
cd based-cli
- Install the package:
pip install -e .
Usage
- Login and configure:
based login
- Start chatting:
based
- Other commands:
based config # Edit configuration
based list # List saved chats
based delete # Delete a chat
based clear # Clear all chats
Available Models
- OpenAI: GPT-4, GPT-4 Turbo
- Anthropic: Claude 3 Sonnet, Claude 3 Opus
- Mistral: Mistral Large, CodeStraal
- Groq: Llama2 70B, Mixtral 8x7B
- Hugging Face: CodeRQween, StarCoder2, CodeLlama
System Prompts
- Default: General software development assistant
- Code Assistant: Expert programming helper
- Terminal Expert: Command-line specialist
- Debugging Expert: Troubleshooting guide
Requirements
- Python 3.9 or higher
- API keys for the providers you want to use
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
based_cli-0.0.7.tar.gz
(9.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
based_cli-0.0.7-py3-none-any.whl
(11.7 kB
view details)
File details
Details for the file based_cli-0.0.7.tar.gz.
File metadata
- Download URL: based_cli-0.0.7.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1235229a40d72b2c3914b842c57f494c655f1e54b779540623b8622826ecc5ee
|
|
| MD5 |
d375d9f5b8b55b2c41f8d102e5c5b271
|
|
| BLAKE2b-256 |
15bbaee0fc49dae0c16b100a51739021a2dbe373e394f6e352f590fefc830a14
|
File details
Details for the file based_cli-0.0.7-py3-none-any.whl.
File metadata
- Download URL: based_cli-0.0.7-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4892c8d979d2f37153f27fa351c3c1d2668a7ba881c0181ca2305e3132d6e6f7
|
|
| MD5 |
707cc7cf199215f9593380b5e650f9ee
|
|
| BLAKE2b-256 |
5ec346a6797900bc6bb3f75a50663e0ef08d90ebc662c0dbeedda459122e9e7b
|