Table of Contents

Class ImportRagFilesRequestExtensions

Namespace
GenerativeAI
Assembly
GenerativeAI.dll

Extension methods for adding various data sources to an ImportRagFilesRequest.

public static class ImportRagFilesRequestExtensions
Inheritance
ImportRagFilesRequestExtensions
Inherited Members

Methods

AddGcsSource(ImportRagFilesRequest, IEnumerable<string>)

Adds multiple GCS URIs to the ImportRagFilesRequest.

public static void AddGcsSource(this ImportRagFilesRequest request, IEnumerable<string> gcsUris)

Parameters

request ImportRagFilesRequest

The request to modify.

gcsUris IEnumerable<string>

The list of GCS URIs to add.

AddGcsSource(ImportRagFilesRequest, string)

Adds a single GCS URI to the ImportRagFilesRequest.

public static void AddGcsSource(this ImportRagFilesRequest request, string gcsUri)

Parameters

request ImportRagFilesRequest

The request to modify.

gcsUri string

The GCS URI to add.

AddGooglDriveSource(ImportRagFilesRequest, GoogleDriveSourceResourceId)

Adds a Google Drive resource ID to the ImportRagFilesRequest.

public static void AddGooglDriveSource(this ImportRagFilesRequest request, GoogleDriveSourceResourceId resourceId)

Parameters

request ImportRagFilesRequest

The request to modify.

resourceId GoogleDriveSourceResourceId

The Google Drive resource ID to add.

AddGooglDriveSource(ImportRagFilesRequest, IEnumerable<GoogleDriveSourceResourceId>)

Adds multiple Google Drive resource IDs to the ImportRagFilesRequest.

public static void AddGooglDriveSource(this ImportRagFilesRequest request, IEnumerable<GoogleDriveSourceResourceId> resourceIds)

Parameters

request ImportRagFilesRequest

The request to modify.

resourceIds IEnumerable<GoogleDriveSourceResourceId>

The Google Drive resource IDs to add.

AddSource(ImportRagFilesRequest, GcsSource)

Adds a Google Cloud Storage (GCS) source to the ImportRagFilesRequest.

public static void AddSource(this ImportRagFilesRequest request, GcsSource source)

Parameters

request ImportRagFilesRequest

The request to modify.

source GcsSource

The GCS source to add.

AddSource(ImportRagFilesRequest, GoogleDriveSource)

Adds a Google Drive source to the ImportRagFilesRequest.

public static void AddSource(this ImportRagFilesRequest request, GoogleDriveSource source)

Parameters

request ImportRagFilesRequest

The request to modify.

source GoogleDriveSource

The Google Drive source to add.

AddSource(ImportRagFilesRequest, JiraSource)

Adds a Jira source to the ImportRagFilesRequest.

public static void AddSource(this ImportRagFilesRequest request, JiraSource source)

Parameters

request ImportRagFilesRequest

The request to modify.

source JiraSource

The Jira source to add.

AddSource(ImportRagFilesRequest, SharePointSource)

Adds a SharePoint source to the ImportRagFilesRequest.

public static void AddSource(this ImportRagFilesRequest request, SharePointSource source)

Parameters

request ImportRagFilesRequest

The request to modify.

source SharePointSource

The SharePoint source to add.

AddSource(ImportRagFilesRequest, SharePointSources)

Adds a SharePoint source to the ImportRagFilesRequest.

public static void AddSource(this ImportRagFilesRequest request, SharePointSources sources)

Parameters

request ImportRagFilesRequest

The request to modify.

sources SharePointSources

The SharePoint sources to add.

AddSource(ImportRagFilesRequest, SlackSource)

Adds a Slack source to the ImportRagFilesRequest.

public static void AddSource(this ImportRagFilesRequest request, SlackSource slackSource)

Parameters

request ImportRagFilesRequest

The request to modify.

slackSource SlackSource

The Slack source to add.

AddSource(ImportRagFilesRequest, SlackSourceSlackChannels)

Adds a Slack channel to the ImportRagFilesRequest.

public static void AddSource(this ImportRagFilesRequest request, SlackSourceSlackChannels slackChannel)

Parameters

request ImportRagFilesRequest

The request to modify.

slackChannel SlackSourceSlackChannels

The Slack channel to add.

AddSource(ImportRagFilesRequest, IEnumerable<SharePointSource>)

Adds multiple SharePoint sources to the ImportRagFilesRequest.

public static void AddSource(this ImportRagFilesRequest request, IEnumerable<SharePointSource> source)

Parameters

request ImportRagFilesRequest

The request to modify.

source IEnumerable<SharePointSource>

The SharePoint sources to add.

AddSource(ImportRagFilesRequest, IEnumerable<SlackSourceSlackChannels>)

Adds multiple Slack channels to the ImportRagFilesRequest.

public static void AddSource(this ImportRagFilesRequest request, IEnumerable<SlackSourceSlackChannels> slackChannels)

Parameters

request ImportRagFilesRequest

The request to modify.

slackChannels IEnumerable<SlackSourceSlackChannels>

The Slack channels to add.