terry-li-hm
commited on
Commit
·
1f6862d
1
Parent(s):
ced8035
Add `litellm`
Browse files- poetry.lock +34 -1
- pyproject.toml +1 -0
- requirements.txt +1 -0
poetry.lock
CHANGED
@@ -206,6 +206,17 @@ doc = ["Sphinx", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-
|
|
206 |
test = ["anyio[trio]", "coverage[toml] (>=4.5)", "hypothesis (>=4.0)", "mock (>=4)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (>=0.17)"]
|
207 |
trio = ["trio (<0.22)"]
|
208 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
[[package]]
|
210 |
name = "async-timeout"
|
211 |
version = "4.0.3"
|
@@ -1138,6 +1149,28 @@ files = [
|
|
1138 |
{file = "Lazify-0.4.0.tar.gz", hash = "sha256:7102bfe63e56de2ab62b3bc661a7190c4056771a8624f04a8b785275c3dd1f9b"},
|
1139 |
]
|
1140 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1141 |
[[package]]
|
1142 |
name = "llama-index"
|
1143 |
version = "0.8.55"
|
@@ -3552,4 +3585,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p
|
|
3552 |
[metadata]
|
3553 |
lock-version = "2.0"
|
3554 |
python-versions = ">=3.11,<3.12"
|
3555 |
-
content-hash = "
|
|
|
206 |
test = ["anyio[trio]", "coverage[toml] (>=4.5)", "hypothesis (>=4.0)", "mock (>=4)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (>=0.17)"]
|
207 |
trio = ["trio (<0.22)"]
|
208 |
|
209 |
+
[[package]]
|
210 |
+
name = "appdirs"
|
211 |
+
version = "1.4.4"
|
212 |
+
description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"."
|
213 |
+
optional = false
|
214 |
+
python-versions = "*"
|
215 |
+
files = [
|
216 |
+
{file = "appdirs-1.4.4-py2.py3-none-any.whl", hash = "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128"},
|
217 |
+
{file = "appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"},
|
218 |
+
]
|
219 |
+
|
220 |
[[package]]
|
221 |
name = "async-timeout"
|
222 |
version = "4.0.3"
|
|
|
1149 |
{file = "Lazify-0.4.0.tar.gz", hash = "sha256:7102bfe63e56de2ab62b3bc661a7190c4056771a8624f04a8b785275c3dd1f9b"},
|
1150 |
]
|
1151 |
|
1152 |
+
[[package]]
|
1153 |
+
name = "litellm"
|
1154 |
+
version = "0.12.5"
|
1155 |
+
description = "Library to easily interface with LLM API providers"
|
1156 |
+
optional = false
|
1157 |
+
python-versions = ">=3.8,<4.0"
|
1158 |
+
files = [
|
1159 |
+
{file = "litellm-0.12.5-py3-none-any.whl", hash = "sha256:2245dbb4d7be88bf9bbc20643de89f89041a5fffd4e2bfe3df09cf6264198968"},
|
1160 |
+
{file = "litellm-0.12.5.tar.gz", hash = "sha256:6c6ddaf092e41d1834c280a677e3b8592195d7843fdbaeda84b163cc044bab21"},
|
1161 |
+
]
|
1162 |
+
|
1163 |
+
[package.dependencies]
|
1164 |
+
appdirs = ">=1.4.4,<2.0.0"
|
1165 |
+
certifi = ">=2023.7.22,<2024.0.0"
|
1166 |
+
click = "*"
|
1167 |
+
importlib-metadata = ">=6.8.0"
|
1168 |
+
jinja2 = ">=3.1.2,<4.0.0"
|
1169 |
+
openai = ">=0.27.0,<0.29.0"
|
1170 |
+
python-dotenv = ">=0.2.0"
|
1171 |
+
tiktoken = ">=0.4.0"
|
1172 |
+
tokenizers = "*"
|
1173 |
+
|
1174 |
[[package]]
|
1175 |
name = "llama-index"
|
1176 |
version = "0.8.55"
|
|
|
3585 |
[metadata]
|
3586 |
lock-version = "2.0"
|
3587 |
python-versions = ">=3.11,<3.12"
|
3588 |
+
content-hash = "d18ab7aa25b4275b0d2e0696b33da8286b45f01ea6603edc2bf00721fdab10e8"
|
pyproject.toml
CHANGED
@@ -15,6 +15,7 @@ transformers = "^4.34.1"
|
|
15 |
accelerate = "^0.24.0"
|
16 |
scipy = "^1.11.3"
|
17 |
bitsandbytes = "^0.41.1"
|
|
|
18 |
|
19 |
[tool.pyright]
|
20 |
# https://github.com/microsoft/pyright/blob/main/docs/configuration.md
|
|
|
15 |
accelerate = "^0.24.0"
|
16 |
scipy = "^1.11.3"
|
17 |
bitsandbytes = "^0.41.1"
|
18 |
+
litellm = "^0.12.5"
|
19 |
|
20 |
[tool.pyright]
|
21 |
# https://github.com/microsoft/pyright/blob/main/docs/configuration.md
|
requirements.txt
CHANGED
@@ -7,3 +7,4 @@ transformers
|
|
7 |
accelerate
|
8 |
scipy
|
9 |
bitsandbytes
|
|
|
|
7 |
accelerate
|
8 |
scipy
|
9 |
bitsandbytes
|
10 |
+
litellm
|