add openai lib
This commit is contained in:
parent
1d1c70be6f
commit
a06c27df0a
|
@ -1,2 +1,3 @@
|
||||||
MONGO_USERNAME=
|
MONGO_USERNAME=
|
||||||
MONGO_PASSWORD=
|
MONGO_PASSWORD=
|
||||||
|
OPENROUTER_API_KEY=
|
47
pdm.lock
47
pdm.lock
|
@ -5,7 +5,7 @@
|
||||||
groups = ["default"]
|
groups = ["default"]
|
||||||
strategy = ["cross_platform", "inherit_metadata"]
|
strategy = ["cross_platform", "inherit_metadata"]
|
||||||
lock_version = "4.4.1"
|
lock_version = "4.4.1"
|
||||||
content_hash = "sha256:dc0802925bc1cb32e3ec37db86b6ed643e6e42249142f74a064b067376be2dd2"
|
content_hash = "sha256:a4bebf92f9599ac0bbd9330c74e76f2aff5b1ca700909112d8bab68efb50e1ea"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "annotated-types"
|
name = "annotated-types"
|
||||||
|
@ -70,6 +70,17 @@ files = [
|
||||||
{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
|
{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "distro"
|
||||||
|
version = "1.9.0"
|
||||||
|
requires_python = ">=3.6"
|
||||||
|
summary = "Distro - an OS platform information API"
|
||||||
|
groups = ["default"]
|
||||||
|
files = [
|
||||||
|
{file = "distro-1.9.0-py3-none-any.whl", hash = "sha256:7bffd925d65168f85027d8da9af6bddab658135b840670a223589bc0c8ef02b2"},
|
||||||
|
{file = "distro-1.9.0.tar.gz", hash = "sha256:2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed"},
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "dnspython"
|
name = "dnspython"
|
||||||
version = "2.6.1"
|
version = "2.6.1"
|
||||||
|
@ -152,6 +163,26 @@ files = [
|
||||||
{file = "idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca"},
|
{file = "idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca"},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "openai"
|
||||||
|
version = "1.14.0"
|
||||||
|
requires_python = ">=3.7.1"
|
||||||
|
summary = "The official Python library for the openai API"
|
||||||
|
groups = ["default"]
|
||||||
|
dependencies = [
|
||||||
|
"anyio<5,>=3.5.0",
|
||||||
|
"distro<2,>=1.7.0",
|
||||||
|
"httpx<1,>=0.23.0",
|
||||||
|
"pydantic<3,>=1.9.0",
|
||||||
|
"sniffio",
|
||||||
|
"tqdm>4",
|
||||||
|
"typing-extensions<5,>=4.7",
|
||||||
|
]
|
||||||
|
files = [
|
||||||
|
{file = "openai-1.14.0-py3-none-any.whl", hash = "sha256:5c9fd3a59f5cbdb4020733ddf79a22f6b7a36d561968cb3f3dd255cdd263d9fe"},
|
||||||
|
{file = "openai-1.14.0.tar.gz", hash = "sha256:e287057adf0ec3315abc32ddcc968d095879abd9b68bf51c0402dab13ab5ae9b"},
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pydantic"
|
name = "pydantic"
|
||||||
version = "2.6.4"
|
version = "2.6.4"
|
||||||
|
@ -256,6 +287,20 @@ files = [
|
||||||
{file = "starlette-0.36.3.tar.gz", hash = "sha256:90a671733cfb35771d8cc605e0b679d23b992f8dcfad48cc60b38cb29aeb7080"},
|
{file = "starlette-0.36.3.tar.gz", hash = "sha256:90a671733cfb35771d8cc605e0b679d23b992f8dcfad48cc60b38cb29aeb7080"},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "tqdm"
|
||||||
|
version = "4.66.2"
|
||||||
|
requires_python = ">=3.7"
|
||||||
|
summary = "Fast, Extensible Progress Meter"
|
||||||
|
groups = ["default"]
|
||||||
|
dependencies = [
|
||||||
|
"colorama; platform_system == \"Windows\"",
|
||||||
|
]
|
||||||
|
files = [
|
||||||
|
{file = "tqdm-4.66.2-py3-none-any.whl", hash = "sha256:1ee4f8a893eb9bef51c6e35730cebf234d5d0b6bd112b0271e10ed7c24a02bd9"},
|
||||||
|
{file = "tqdm-4.66.2.tar.gz", hash = "sha256:6cd52cdf0fef0e0f543299cfc96fec90d7b8a7e88745f411ec33eb44d5ed3531"},
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "typing-extensions"
|
name = "typing-extensions"
|
||||||
version = "4.10.0"
|
version = "4.10.0"
|
||||||
|
|
|
@ -10,6 +10,7 @@ dependencies = [
|
||||||
"pymongo>=4.6.2",
|
"pymongo>=4.6.2",
|
||||||
"httpx>=0.27.0",
|
"httpx>=0.27.0",
|
||||||
"uvicorn>=0.28.0",
|
"uvicorn>=0.28.0",
|
||||||
|
"openai>=1.14.0",
|
||||||
]
|
]
|
||||||
requires-python = "==3.12.*"
|
requires-python = "==3.12.*"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
Loading…
Reference in New Issue