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.1.0.dev229379.tar.gz (101.8 kB view details)

Uploaded Source

Built Distribution

fire_chat-0.1.0.dev229379-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file fire_chat-0.1.0.dev229379.tar.gz.

File metadata

File hashes

Hashes for fire_chat-0.1.0.dev229379.tar.gz
Algorithm Hash digest
SHA256 fd5614ff8eacd35b9cb28a58a490c81ccdf757c482478393572126347e1d1011
MD5 2be39cf9b159655a3b9feeccd4f29d40
BLAKE2b-256 5a05fdff9214e0ff8d8edb89aa41d1f8c07dd53bf317797f4bff5b97ebfc2128

See more details on using hashes here.

File details

Details for the file fire_chat-0.1.0.dev229379-py3-none-any.whl.

File metadata

File hashes

Hashes for fire_chat-0.1.0.dev229379-py3-none-any.whl
Algorithm Hash digest
SHA256 31418a4eea1a4de3ec9d0cdec407ec6352e1b6c1d0bbb771206b50437579353a
MD5 86a0be1fa7f4739daf96277caf3eba4b
BLAKE2b-256 6a033be0203f7181302141bb97fd07616cff4f04daed31ae502b4b0911a70a39

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