Created
July 14, 2024 10:48
-
-
Save pavlovmilen/7271fc595e0f25a2193fe42c193db30d to your computer and use it in GitHub Desktop.
add metadata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
res = app.app_state.collection.add( | |
documents=[document], | |
embeddings=[app.app_state.get_text_embedding(document)], | |
metadatas=[metadata], | |
ids=[ids] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment