Ask a question to get started
Enter to sendā¢Shift+Enter new line
add_to_index( self, ids: list[str], embeddings: list[list[
ids
list[str]
List of unique ids.
embeddings
list[list[float]]
List of embeddings for each record.
metadatas
list[dict] | None
None
is_complete_overwrite
bool
False
sparse_embeddings
list[dict[str, list[int] | list[float]]] | None
Adds documents to the index.
List of metadata of each record.
Whether to overwrite the entire index.
List of sparse embeddings for each record.