| Name | Type | Description |
|---|---|---|
text_embeddings* | Iterable[Tuple[str, List[float]]] | Iterable pairs of string and embedding to add to the store. |
metadatas | Optional[List[dict]] | Default: None |
ids | Optional[List[str]] | Default: None |
refresh_indices | bool | Default: True |
create_index_if_not_exists | bool | Default: True |
*bulk_kwargs | Optional[Dict] | Default: None |
Add the given texts and embeddings to the store.
Optional list of metadatas associated with the texts.
Optional list of unique IDs.
Whether to refresh the Elasticsearch indices after adding the texts.
Whether to create the Elasticsearch index if it doesn't already exist.
Additional arguments to pass to Elasticsearch bulk.