Skip to main content

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

  1. Clone the repository:
git clone <repository-url>
cd based-cli
  1. Install the package:
pip install -e .

Usage

  1. Login and configure:
based login
  1. Start chatting:
based
  1. 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.4.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

based_cli-0.0.4-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file based_cli-0.0.4.tar.gz.

File metadata

  • Download URL: based_cli-0.0.4.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.5

File hashes

Hashes for based_cli-0.0.4.tar.gz
Algorithm Hash digest
SHA256 085f96eb224136e44669758e2182daa7eb249a3a8c5a5a94aaed40375f800be2
MD5 e01693fb9265c2b8935061c4574f65c2
BLAKE2b-256 8ba38ac902d91963d48c96f54787a4967f11f09e8705309ab1f4cc7d8b764603

See more details on using hashes here.

File details

Details for the file based_cli-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: based_cli-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.5

File hashes

Hashes for based_cli-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 67a9c1d0ea16ab5726348d9385bdc026bc7fbe116a7a49e8f4a49eba2291413e
MD5 8b43c82311c5b15aedcffd88b7b20c7c
BLAKE2b-256 0f3284bb77e8b1592a018b266d49226b29b9648b2cb2967d41aaa3f6be5ad529

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page