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.dev396970.tar.gz (86.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fire_chat-0.0.6.dev396970.tar.gz
Algorithm Hash digest
SHA256 adab0c83ef4f2bc9612813b81204527f6d29c5de5fc42577e821db16b173c074
MD5 4a697b8dc6932d9b899968198521b06e
BLAKE2b-256 5a3dad0532c9cc742db37953578cdc78cf9db3ee212a5405d8673c0a1180ffc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fire_chat-0.0.6.dev396970-py3-none-any.whl
Algorithm Hash digest
SHA256 27a805c2d5c4125fe22d8df16df07cc45c4cfede6bd83ae61cf096b8b7749f15
MD5 5f2d82746716d55875b8e37fa2fa5602
BLAKE2b-256 971b42fc048f747da8c62e7d7e305b4ac4464eed58dfcd0b9d27e6fa591f3a84

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