ChunkClientCreateChunkAsync Method
Creates a new
Chunk resource.
Namespace: GenerativeAI.ClientsAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public Task<Chunk?> CreateChunkAsync(
string parent,
Chunk chunk
)
- parent String
- The name of the Document where this Chunk will be created. Example: corpora/my-corpus-123/documents/the-doc-abc
- chunk Chunk
- The Chunk to create.
TaskChunkThe created
Chunk.