Update/Insert documents to the vectorstore asynchronously.
aupsert(
self,
ids: Optional[List[str]] = None,
documents: List[Document] | None = None,
batch_size: int = 1000,
timeout: Optional[float] = None,
**kwargs: Any = {}
) -> None| Name | Type | Description |
|---|---|---|
ids | Optional[List[str]] | Default: NoneIDs to update - Let's call aget_pks to get ids with expression |
documents | List[Document] | Default: NoneDocuments to add to the vectorstore. |
batch_size | int | Default: 1000Batch size to use for upsert. Defaults to 1000. |
timeout | Optional[float] | Default: NoneTimeout for each batch upsert. Defaults to None. |
**kwargs | Any | Default: {}Other parameters in Milvus upsert api. |