Class GeminiCorpusDocument
- Namespace
- Uralstech.UGemini.CorporaAPI.Documents
A Document is a collection of Chunks. A Corpus can have a maximum of 10,000 Documents.
public class GeminiCorpusDocument
- Inheritance
-
objectGeminiCorpusDocument
- Extension Methods
Fields
CreateTime
The Timestamp of when the Document was created.
public DateTime CreateTime
Field Value
- DateTime
CustomMetadata
User provided custom metadata stored as key-value pairs used for querying. A Document can have a maximum of 20 CustomMetadata.
public GeminiCorpusCustomMetadata[] CustomMetadata
Field Value
DisplayName
The human-readable display name for the Document.
public string DisplayName
Field Value
- string
Remarks
The display name must be no more than 512 characters in length, including spaces. Example: "Semantic Retriever Documentation"
Resource
The Document resource ID.
public GeminiCorpusDocumentId Resource
Field Value
Remarks
The ID (name excluding the "corpora/*/documents/" 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
displayName along with a 12 character random suffix. Example: corpora/{corpus_id}/documents/my-awesome-doc-123a456b789c
UpdateTime
The Timestamp of when the Document was last updated.
public DateTime UpdateTime
Field Value
- DateTime