CorporaClientDeleteCorpusAsync Method

Deletes a Corpus resource.

Definition

Namespace: GenerativeAI.Clients
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public Task DeleteCorpusAsync(
	string name,
	bool? force = null
)

Parameters

name  String
The name of the Corpus to delete.
force  NullableBoolean  (Optional)
If set to true, any Document resources and objects related to this Corpus will also be deleted.

Return Value

Task
A task representing the asynchronous operation.

See Also