ChunkClientBatchDeleteChunksAsync Method

Batches delete Chunk resources.

Definition

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

Parameters

parent  String
The name of the Document containing the Chunks to delete. Example: corpora/my-corpus-123/documents/the-doc-abc
requests  ListDeleteChunkRequest
The request messages specifying the Chunks to delete.

Return Value

Task
A task representing the asynchronous operation.

See Also