Merge pull request #34 from zakhar-kogan/main

Expanded .env, added Poetry and basic Docstring
This commit is contained in:
Ishaan Jaff
2023-08-02 11:53:46 -07:00
committed by GitHub
5 changed files with 1344 additions and 2 deletions
+16 -1
View File
@@ -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
View File
@@ -1 +1,2 @@
.venv
.env
Generated
+1306
View File
File diff suppressed because it is too large Load Diff
+21
View 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"
-1
View File
@@ -3,6 +3,5 @@ cohere
anthropic
replicate
pytest
pytest
python-dotenv
openai[datalib]