0 is dissimilar, 1 is the most similar.
update(ids: List[str], texts: Iterable[str], metadatas: Optional[List[dict]] = None, **kwargs: Any) → List[str][source]¶
Update the documents which have the specified ids.
Parameters
ids – The id list of the updating embedding vector.
texts – The texts of the updating documents.
metadatas – The metadatas of the updating documents.
Returns
the ids of the updated documents.
use(table_name: str, **kwargs: Any) → bool[source]¶
Use the specified table. Don’t know the tables, please invoke list_tables.
Examples using AwaDB¶
AwaDB