update
Function
Updates document chunks in a relational database.
Prototype
def update(chunk_ids: List[int], texts: List[str])
Parameters
Parameter |
Data Type |
Required/Optional |
Description |
|---|---|---|---|
chunk_ids |
List[int] |
Required |
List of IDs of documents to be updated. The list length ranges from (0, 1000000]. |
texts |
List[str] |
Required |
List of updated document content. The list length range is (0, 1000000], and the string length range is [1, 128 × 1024 × 1024]. Lists of chunk_ids and texts correspond to each other. |
Return Value
None
Parent topic: MilvusDocstore