Class GeminiCorporaChunkBatchCreationData
- Namespace
- Uralstech.UGemini.CorporaAPI.Chunks
Information to create a new Chunk as part of a GeminiCorporaChunkBatchCreateRequest.
public class GeminiCorporaChunkBatchCreationData
- Inheritance
-
objectGeminiCorporaChunkBatchCreationData
- Extension Methods
Fields
ChunkId
The Chunk's resource ID.
public IGeminiCorpusResourceId ChunkId
Field Value
Remarks
The ID (name excluding the "corpora//documents//chunks/" prefix) can contain up to 40 characters that are lowercase
alphanumeric or dashes (-). The ID cannot start or end with a dash. If the name is empty on create, a unique name will
be derived from 12 random characters.
CustomMetadata
User provided custom metadata stored as key-value pairs used for querying. A Chunk can have a maximum of 20 CustomMetadata.
public GeminiCorpusCustomMetadata[] CustomMetadata
Field Value
Data
The content for the Chunk, such as text. The maximum number of tokens per chunk is 2043.
public GeminiCorpusChunkData Data