Table of Contents

Class GeminiCorpus

A Corpus is a collection of Documents. A project can create up to 5 corpora.

public class GeminiCorpus
Inheritance
object
GeminiCorpus
Extension Methods

Fields

CreateTime

The timestamp of when the Corpus was created.

public DateTime CreateTime

Field Value

DateTime

DisplayName

The human-readable display name for the Corpus.

public string DisplayName

Field Value

string

Remarks

The display name must be no more than 512 characters in length, including spaces. Example: "Docs on Semantic Retriever"

Resource

The Corpus resource.

public GeminiCorpusId Resource

Field Value

GeminiCorpusId

Remarks

The ID (name excluding the "corpora/" 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/my-awesome-corpora-123a456b789c

UpdateTime

The timestamp of when the Corpus was last updated.

public DateTime UpdateTime

Field Value

DateTime