Skip to content

Commit

Permalink
fixed Qdrant payload for add_documents_to_doc_group
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxwell-Lindsey committed Feb 26, 2024
1 parent 055d960 commit c635c7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ai_ta_backend/vector_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -1712,6 +1712,9 @@ def add_documents_to_doc_group(self, course_name: str, docs: MaterialDocument |
collection_name=os.environ['QDRANT_COLLECTION_NAME'],
payload={
"doc_group": doc.doc_groups,
"course_name": course_name,
"s3_path": doc.s3_path,
"url": doc.url,
},
points=models.Filter(must=[
models.FieldCondition(
Expand Down

0 comments on commit c635c7e

Please sign in to comment.