From c7233a17ef88111931c5ebf19e8d591f07b374b4 Mon Sep 17 00:00:00 2001 From: star-nox Date: Wed, 13 Mar 2024 13:07:11 -0500 Subject: [PATCH] testing done --- .beamignore | 7 +++++++ ai_ta_backend/beam/ingest.py | 1 + 2 files changed, 8 insertions(+) create mode 100644 .beamignore diff --git a/.beamignore b/.beamignore new file mode 100644 index 00000000..f787b8ee --- /dev/null +++ b/.beamignore @@ -0,0 +1,7 @@ +.venv +venv +.idea +.vscode +.git +*.pyc +__pycache__ diff --git a/ai_ta_backend/beam/ingest.py b/ai_ta_backend/beam/ingest.py index 2ccb17e5..8ac8d06d 100644 --- a/ai_ta_backend/beam/ingest.py +++ b/ai_ta_backend/beam/ingest.py @@ -151,6 +151,7 @@ def loader(): # Triggers determine how your app is deployed @app.rest_api(workers=2, max_pending_tasks=15_000, max_retries=3, timeout=-1, loader=loader, autoscaler=autoscaler) def ingest(**inputs: Dict[str, Any]): + qdrant_client, vectorstore, s3_client, supabase_client, posthog = inputs["context"] course_name: List[str] | str = inputs.get('course_name', '')