Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nomic Code Clean-up #238

Merged
merged 11 commits into from
Mar 29, 2024
4 changes: 2 additions & 2 deletions ai_ta_backend/beam/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1029,8 +1029,8 @@ def split_and_upload(self, texts: List[str], metadatas: List[Dict[str, Any]]):

# add to Nomic document map
if len(response.data) > 0:
inserted_data = response.data[0]
log_to_document_map(inserted_data)
course_name = contexts[0].metadata.get('course_name')
log_to_document_map(course_name)

self.posthog.capture('distinct_id_of_the_user',
event='split_and_upload_succeeded',
Expand Down
Loading