Skip to main content

A CLI tool to chat with LLM models including GPT and Claude.

Project description

fire-chat

Overview

This project provides a command-line interface (CLI) for interacting with various large language models (LLMs) using the LiteLLM wrapper. It supports multiple providers, including OpenAI, Anthropic, Azure, and Gemini. The CLI allows users to chat with these models, manage budgets, and handle API keys efficiently.

Configuration

The configuration is managed through a $HOME/.config/fire-chat/config.yaml file. The first time you run the CLI run. You can copy paste the starting config file config.yaml to the location, adds your API key, and quick start the application fire-chat.

Installation and Usage

  1. Install the CLI:

    pip install --user fire-chat # requires python 3.10+
    
  2. Configure the CLI:

    Edit the $HOME/.config/fire-chat/config.yaml file to set your preferred provider, model, and other settings.

  3. Run the CLI:

    fire-chat
    

    or run with arguments (overriding config yaml file)

    fire-chat --model=gpt-4o
    

    for full list of configs, see main.py.

  4. Exit: To exit the CLI, Ctrl+C.

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

fire_chat-0.0.6.dev803345.tar.gz (86.1 kB view details)

Uploaded Source

Built Distribution

fire_chat-0.0.6.dev803345-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file fire_chat-0.0.6.dev803345.tar.gz.

File metadata

File hashes

Hashes for fire_chat-0.0.6.dev803345.tar.gz
Algorithm Hash digest
SHA256 933e2483740c73a60beb9bcdb801153e6e7e9a693679f3247433e58686430b1b
MD5 267b55c089d65e68584abc5903bf0dad
BLAKE2b-256 5a43d574a19a039c3a3c7e75f4c93af967eae127660ec2ad410718b04c6080f9

See more details on using hashes here.

File details

Details for the file fire_chat-0.0.6.dev803345-py3-none-any.whl.

File metadata

File hashes

Hashes for fire_chat-0.0.6.dev803345-py3-none-any.whl
Algorithm Hash digest
SHA256 96609deb2eb975c959e4e9047676934657693edfad70dfbe0588bd808d549f24
MD5 0a970049482c2e6444efed005863c73f
BLAKE2b-256 4423e2977394769ed7297105c76c9ceb68d95f4b5c9a5d690e90543fc919fd69

See more details on using hashes here.

Supported by

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