Table of Contents

Class ImportRagFilesConfig

Namespace
GenerativeAI.Types.RagEngine
Assembly
GenerativeAI.dll

Config for importing RagFiles.

public class ImportRagFilesConfig
Inheritance
ImportRagFilesConfig
Inherited Members
Extension Methods

Properties

GcsSource

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats: - gs://bucket_name/my_directory/object_name/my_file.txt - gs://bucket_name/my_directory

[JsonPropertyName("gcsSource")]
public GcsSource? GcsSource { get; set; }

Property Value

GcsSource

GoogleDriveSource

Google Drive location. Supports importing individual files as well as Google Drive folders.

[JsonPropertyName("googleDriveSource")]
public GoogleDriveSource? GoogleDriveSource { get; set; }

Property Value

GoogleDriveSource

JiraSource

Jira queries with their corresponding authentication.

[JsonPropertyName("jiraSource")]
public JiraSource? JiraSource { get; set; }

Property Value

JiraSource

MaxEmbeddingRequestsPerMin

Optional. The max number of queries per minute that this job is allowed to make to the embedding model specified on the corpus. This value is specific to this job and not shared across other import jobs. Consult the Quotas page on the project to set an appropriate value here. If unspecified, a default value of 1,000 QPM would be used.

[JsonPropertyName("maxEmbeddingRequestsPerMin")]
public int? MaxEmbeddingRequestsPerMin { get; set; }

Property Value

int?

RagFileParsingConfig

Optional. Specifies the parsing config for RagFiles. RAG will use the default parser if this field is not set.

[JsonPropertyName("ragFileParsingConfig")]
public RagFileParsingConfig? RagFileParsingConfig { get; set; }

Property Value

RagFileParsingConfig

RagFileTransformationConfig

Specifies the transformation config for RagFiles.

[JsonPropertyName("ragFileTransformationConfig")]
public RagFileTransformationConfig? RagFileTransformationConfig { get; set; }

Property Value

RagFileTransformationConfig

SharePointSources

SharePoint sources.

[JsonPropertyName("sharePointSources")]
public SharePointSources? SharePointSources { get; set; }

Property Value

SharePointSources

SlackSource

Slack channels with their corresponding access tokens.

[JsonPropertyName("slackSource")]
public SlackSource? SlackSource { get; set; }

Property Value

SlackSource