ChunkClientBatchUpdateChunksAsync Method
Batches update
Chunk resources.
Namespace: GenerativeAI.ClientsAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public Task<BatchUpdateChunksResponse?> BatchUpdateChunksAsync(
string parent,
List<UpdateChunkRequest> requests
)
- parent String
- The name of the Document containing the Chunks to update. Example: corpora/my-corpus-123/documents/the-doc-abc
- requests ListUpdateChunkRequest
- The request messages specifying the Chunks to update. A maximum of 100 Chunks can be updated in a batch.
TaskBatchUpdateChunksResponseA list of updated
Chunks.