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 APITAIDE_API_KEY
: API key for TAIDEDEFAULT_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.0.tar.gz
(959 Bytes
view details)
Built Distribution
File details
Details for the file botrun_litellm-0.1.0.tar.gz
.
File metadata
- Download URL: botrun_litellm-0.1.0.tar.gz
- Upload date:
- Size: 959 Bytes
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71b0c998bfc1d4fa4b146068e41b19a0acbabdcebebf17d1397d9e9eee8a0875 |
|
MD5 | effb2a8df9ba1e4805a3aaf40bc541fb |
|
BLAKE2b-256 | a409132b6c9fb6fb895590940ea6d713a8e101f18f1238ae09d1c8f6e9069e7b |
File details
Details for the file botrun_litellm-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: botrun_litellm-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6434ec61fd94e729f00d70d8610b657b47ed6c18e6b2b58af44f8146e5c0882a |
|
MD5 | d61138f9a02c9a090f1892363110ab70 |
|
BLAKE2b-256 | 75636f63b77fd7781f2a040ee120415adf7fe9e000a732150a903d948de05220 |