forked from phoenix/litellm-mirror
Merge pull request #34 from zakhar-kogan/main
Expanded .env, added Poetry and basic Docstring
This commit is contained in:
commit
851f681156
5 changed files with 1344 additions and 2 deletions
17
.env.example
17
.env.example
|
@ -1,4 +1,19 @@
|
|||
# OpenAI
|
||||
OPENAI_API_KEY = ""
|
||||
# Cohere
|
||||
COHERE_API_KEY = ""
|
||||
# OpenRouter
|
||||
OR_SITE_URL = ""
|
||||
OR_APP_NAME = "LiteLLM Example app"
|
||||
OR_APP_NAME = "LiteLLM Example app"
|
||||
OR_API_KEY = ""
|
||||
# Azure API base URL
|
||||
AZURE_API_BASE = ""
|
||||
# Azure API version
|
||||
AZURE_API_VERSION = ""
|
||||
# Azure API key
|
||||
AZURE_API_KEY = ""
|
||||
# Replicate
|
||||
REPLICATE_API_KEY = ""
|
||||
REPLICATE_API_TOKEN = ""
|
||||
# Anthropic
|
||||
ANTHROPIC_API_KEY = ""
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
.venv
|
||||
.env
|
1306
poetry.lock
generated
Normal file
1306
poetry.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
21
pyproject.toml
Normal file
21
pyproject.toml
Normal file
|
@ -0,0 +1,21 @@
|
|||
[tool.poetry]
|
||||
name = "litellm"
|
||||
version = "0.1.212"
|
||||
description = "Library to easily interface with LLM API providers"
|
||||
authors = ["BerriAI"]
|
||||
license = "MIT License"
|
||||
readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.9"
|
||||
openai = {extras = ["datalib"], version = "^0.27.8"}
|
||||
cohere = "^4.18.0"
|
||||
pytest = "^7.4.0"
|
||||
anthropic = "^0.3.7"
|
||||
replicate = "^0.10.0"
|
||||
python-dotenv = "^1.0.0"
|
||||
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
|
@ -3,6 +3,5 @@ cohere
|
|||
anthropic
|
||||
replicate
|
||||
pytest
|
||||
pytest
|
||||
python-dotenv
|
||||
openai[datalib]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue