Ask a question to get started
Enter to sendā¢Shift+Enter new line
Add texts to TiDB Vector Store.
add_texts( self, texts: Iterable[str], metadatas: Optional[List[dict]] = None, ids: Optional[List[str]] = None, **kwargs: Any = {} ) -> List[str]
texts
Iterable[str]
The texts to be added.
metadatas
Optional[List[dict]]
None
The metadata associated with each text, Defaults to None.
ids
Optional[List[str]]
The IDs to be assigned to each text, Defaults to None, will be generated if not provided.