ImportRagFilesConfig class final
Config for importing RagFiles.
- Inheritance
-
- Object
- ProtoMessage
- ImportRagFilesConfig
Constructors
- ImportRagFilesConfig({GcsSource? gcsSource, GoogleDriveSource? googleDriveSource, SlackSource? slackSource, JiraSource? jiraSource, GcsDestination? partialFailureGcsSink, BigQueryDestination? partialFailureBigquerySink, GcsDestination? importResultGcsSink, BigQueryDestination? importResultBigquerySink, RagFileChunkingConfig? ragFileChunkingConfig, RagFileTransformationConfig? ragFileTransformationConfig, RagFileParsingConfig? ragFileParsingConfig, RagFileMetadataConfig? ragFileMetadataConfig, int maxEmbeddingRequestsPerMin = 0, int globalMaxEmbeddingRequestsPerMin = 0, bool rebuildAnnIndex = false})
- ImportRagFilesConfig.fromJson(Object? j)
-
factory
Properties
- gcsSource → GcsSource?
-
Google Cloud Storage location. Supports importing individual files as
well as entire Google Cloud Storage directories. Sample formats:
final
- globalMaxEmbeddingRequestsPerMin → int
-
Optional. The max number of queries per minute that the indexing pipeline
job is allowed to make to the embedding model specified in the project.
Please follow the quota usage guideline of the embedding model you use to
set the value properly.If this value is not specified,
max_embedding_requests_per_min will be used by indexing pipeline job as the
global limit.
final
- googleDriveSource → GoogleDriveSource?
-
Google Drive location. Supports importing individual files as
well as Google Drive folders.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- importResultBigquerySink → BigQueryDestination?
-
The BigQuery destination to write import result to. It should be a
bigquery table resource name (e.g.
"bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
table does not exist, it will be created with the expected schema. If the
table exists, the schema will be validated and data will be added to this
existing table.
final
- importResultGcsSink → GcsDestination?
-
The Cloud Storage path to write import result to.
final
- jiraSource → JiraSource?
-
Jira queries with their corresponding authentication.
final
- maxEmbeddingRequestsPerMin → int
-
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.
final
- partialFailureBigquerySink → BigQueryDestination?
-
The BigQuery destination to write partial failures to. It should be a
bigquery table resource name (e.g.
"bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
table does not exist, it will be created with the expected schema. If the
table exists, the schema will be validated and data will be added to this
existing table.
Deprecated. Prefer to use
import_result_bq_sink.final - partialFailureGcsSink → GcsDestination?
-
The Cloud Storage path to write partial failures to.
Deprecated. Prefer to use
import_result_gcs_sink.final - qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - ragFileChunkingConfig → RagFileChunkingConfig?
-
Specifies the size and overlap of chunks after importing RagFiles.
final
- ragFileMetadataConfig → RagFileMetadataConfig?
-
Specifies the metadata config for RagFiles.
Including paths for metadata schema and metadata.
final
- ragFileParsingConfig → RagFileParsingConfig?
-
Optional. Specifies the parsing config for RagFiles.
RAG will use the default parser if this field is not set.
final
- ragFileTransformationConfig → RagFileTransformationConfig?
-
Specifies the transformation config for RagFiles.
final
- rebuildAnnIndex → bool
-
Rebuilds the ANN index to optimize for recall on the imported data.
Only applicable for RagCorpora running on RagManagedDb with
retrieval_strategyset toANN. The rebuild will be performed using the existing ANN config set on the RagCorpus. To change the ANN config, please use the UpdateRagCorpus API.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
SharePoint sources.
final
- slackSource → SlackSource?
-
Slack channels with their corresponding access tokens.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String