ChunkClientBatchUpdateChunksAsync Method

Batches update Chunk resources.

Definition

Namespace: GenerativeAI.Clients
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public Task<BatchUpdateChunksResponse?> BatchUpdateChunksAsync(
	string parent,
	List<UpdateChunkRequest> requests
)

Parameters

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.

Return Value

TaskBatchUpdateChunksResponse
A list of updated Chunks.

See Also