Table of Contents

Class RagCorpus

Namespace
GenerativeAI.Types.RagEngine
Assembly
GenerativeAI.dll

A RagCorpus is a RagFile container and a project can have multiple RagCorpora.

public class RagCorpus
Inheritance
RagCorpus
Inherited Members
Extension Methods

Properties

CorpusStatus

Output only. RagCorpus state.

[JsonPropertyName("corpusStatus")]
public CorpusStatus? CorpusStatus { get; set; }

Property Value

CorpusStatus

CreateTime

Output only. Timestamp when this RagCorpus was created.

[JsonPropertyName("createTime")]
public string? CreateTime { get; set; }

Property Value

string

Description

Optional. The description of the RagCorpus.

[JsonPropertyName("description")]
public string? Description { get; set; }

Property Value

string

DisplayName

Required. The display name of the RagCorpus. The name can be up to 128 characters long and can consist of any UTF-8 characters.

[JsonPropertyName("displayName")]
public string? DisplayName { get; set; }

Property Value

string

Name

Output only. The resource name of the RagCorpus.

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

RagFilesCount

Output only. Number of RagFiles in the RagCorpus.

[JsonPropertyName("ragFilesCount")]
public int? RagFilesCount { get; set; }

Property Value

int?

UpdateTime

Output only. Timestamp when this RagCorpus was last updated.

[JsonPropertyName("updateTime")]
public string? UpdateTime { get; set; }

Property Value

string

VectorDbConfig

Optional. Immutable. The config for the Vector DBs.

[JsonPropertyName("vectorDbConfig")]
public RagVectorDbConfig? VectorDbConfig { get; set; }

Property Value

RagVectorDbConfig

VertexAiSearchConfig

Optional. Immutable. The config for the Vertex AI Search.

[JsonPropertyName("vertexAiSearchConfig")]
public VertexAiSearchConfig? VertexAiSearchConfig { get; set; }

Property Value

VertexAiSearchConfig