Skip to main content

A wrapper for litellm with TAIDE configuration support

Project description

README.md

botrun_litellm

A wrapper for litellm with TAIDE configuration support.

Installation

pip install botrun_litellm

Usage

from botrun_litellm import botrun_litellm_completion

response = botrun_litellm_completion(
    messages=[{"role": "user", "content": "Hello!"}],
    model="openai/gpt-4"
)

Environment Variables

The following environment variables are required:

  • TAIDE_BASE_URL: Base URL for TAIDE API
  • TAIDE_API_KEY: API key for TAIDE
  • DEFAULT_MODEL: (Optional) Default model to use

License

MIT License

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

botrun_litellm-0.1.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

botrun_litellm-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file botrun_litellm-0.1.1.tar.gz.

File metadata

  • Download URL: botrun_litellm-0.1.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for botrun_litellm-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2960f3ad0653d54a6059efba0160c207a33912d4da258862158ad0e1f78a2141
MD5 0711801448c9a93933bff3d4b2d2dec5
BLAKE2b-256 d26b460b781aeb675d1417574219726623ab5db99168f46f1520268206773e9c

See more details on using hashes here.

File details

Details for the file botrun_litellm-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for botrun_litellm-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0811db640f19b2addd7338c53afb81be2a349573edec3ed62050a83edfef11a4
MD5 0b8127f8dfdcceac19dd4e5b559dd8fc
BLAKE2b-256 079702ac6fef80649591a497a59d2828f041e8e89949158d9e04a153c688bb5a

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