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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fire_chat-0.0.6.dev778541.tar.gz
Algorithm Hash digest
SHA256 17595267b18ebdb4033299fba5fa8570165df57317b041986d492df9dd02aa4d
MD5 aedb2bd9308d7d6e7bbc4ca8ce5b0ae9
BLAKE2b-256 bbd1c0af05d42b380698f4552a36c7cd28f0882426ece35e3abccff6d91577fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fire_chat-0.0.6.dev778541-py3-none-any.whl
Algorithm Hash digest
SHA256 0985e28aef57809413c646c3b6a85d28e8a17a2a2128c9b119fef0c5fbeb1f49
MD5 b8ca69a468045351201327f237ead460
BLAKE2b-256 748a72263009be3d9b0e450af21a5d74cdb2cdb1585938905ff6e6dc7e00cf12

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