Skip to content

Commit

Permalink
pydantic is dogshit
Browse files Browse the repository at this point in the history
  • Loading branch information
jmilldotdev committed Dec 20, 2023
2 parents 8d5f157 + 81dd04b commit cd2e5af
Show file tree
Hide file tree
Showing 43 changed files with 2,494 additions and 59 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
MONGO_URI=
MONGO_DB_NAME=
OPENAI_API_KEY=
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ RUN apt-get update \
&& apt-get install -y git \
&& pip install -r requirements.txt

ENTRYPOINT ["uvicorn", "src.logos_svc.server:app", "--host", "0.0.0.0"]
ENTRYPOINT ["uvicorn", "src.server:app", "--host", "0.0.0.0"]
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ dependencies = [
"fastapi>=0.104.1",
"uvicorn>=0.24.0.post1",
"pydantic>=2.5.2",
"eden-logos @ git+https://github.com/edenartlab/logos",
"python-dotenv>=1.0.0",
"fire>=0.3.0",
"httpx>=0.24.1",
"orjson>=3.9.0",
"rich>=13.4.1",
"python-dateutil>=2.8.2",
"pymongo>=3.12.0",
]
readme = "README.md"
requires-python = ">= 3.8"
Expand Down
1 change: 1 addition & 0 deletions src/llm/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .llm import LLM, AsyncLLM
Loading

0 comments on commit cd2e5af

Please sign in to comment.