Skip to content

Commit

Permalink
GCA-3: Standardizing deployment with containers
Browse files Browse the repository at this point in the history
  • Loading branch information
jgordley committed Dec 13, 2023
1 parent 1ca5ce8 commit b4b1cf4
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 9 deletions.
10 changes: 8 additions & 2 deletions backend/main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
from fastapi import FastAPI, APIRouter
from fastapi.middleware.cors import CORSMiddleware

from routers import user_routes, calendar_routes, event_routes, test_routes, chat_routes
from routers import (
user_routes,
calendar_routes,
event_routes,
ready_routes,
chat_routes,
)


app = FastAPI()
Expand All @@ -19,5 +25,5 @@
app.include_router(user_routes.router, prefix="/users", tags=["users"])
app.include_router(calendar_routes.router, prefix="/calendars", tags=["items"])
app.include_router(event_routes.router, prefix="/events", tags=["events"])
app.include_router(test_routes.router, prefix="/test", tags=["test"])
app.include_router(ready_routes.router, prefix="/ready", tags=["ready"])
app.include_router(chat_routes.router, prefix="/chat", tags=["chat"])
45 changes: 40 additions & 5 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,42 @@
aiohttp==3.8.6
aiosignal==1.3.1
anyio==3.7.1
asgiref==3.7.2
async-timeout==4.0.3
attrs==23.1.0
certifi==2023.7.22
charset-normalizer==3.3.0
click==8.1.7
dataclasses-json==0.6.1
dnspython==2.4.2
exceptiongroup==1.1.3
fastapi==0.65.2
frozenlist==1.4.0
greenlet==3.0.0
h11==0.14.0
idna==3.4
jsonpatch==1.33
jsonpointer==2.4
langchain==0.0.343
langchain-core==0.0.7
langsmith==0.0.67
marshmallow==3.20.1
multidict==6.0.4
mypy-extensions==1.0.0
numpy==1.26.1
openai==0.28.1
packaging==23.2
pydantic==1.10.13
pymongo==4.5.0
PyYAML==6.0.1
requests==2.31.0
sniffio==1.3.0
SQLAlchemy==2.0.22
starlette==0.14.2
tenacity==8.2.3
tqdm==4.66.1
typing-inspect==0.9.0
typing_extensions==4.8.0
urllib3==2.0.6
uvicorn==0.14.0
pymongo
requests
langchain
pydantic
openai
yarl==1.9.2
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@


@router.post("")
async def run_langchain_test():
pass
def ready_check():
return {"status": "ok"}

0 comments on commit b4b1cf4

Please sign in to comment.