Skip to content

Commit

Permalink
undo the last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
star-nox committed Oct 24, 2023
1 parent 1345510 commit 4685096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai_ta_backend/vector_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ def split_and_upload(self, texts: List[str], metadatas: List[Dict[str, Any]]):
"text": context.page_content,
"pagenumber": context.metadata.get('pagenumber'),
"timestamp": context.metadata.get('timestamp'),
#"embedding": embeddings_dict[context.page_content]
"embedding": embeddings_dict[context.page_content]
} for context in contexts]

document = {
Expand Down

0 comments on commit 4685096

Please sign in to comment.