Class ImportRagFilesConfig (1.84.0)

ImportRagFilesConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Config for importing RagFiles.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
gcs_source google.cloud.aiplatform_v1beta1.types.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 This field is a member of oneof_ import_source.
google_drive_source google.cloud.aiplatform_v1beta1.types.GoogleDriveSource
Google Drive location. Supports importing individual files as well as Google Drive folders. This field is a member of oneof_ import_source.
slack_source google.cloud.aiplatform_v1beta1.types.SlackSource
Slack channels with their corresponding access tokens. This field is a member of oneof_ import_source.
jira_source google.cloud.aiplatform_v1beta1.types.JiraSource
Jira queries with their corresponding authentication. This field is a member of oneof_ import_source.
share_point_sources google.cloud.aiplatform_v1beta1.types.SharePointSources
SharePoint sources. This field is a member of oneof_ import_source.
partial_failure_gcs_sink google.cloud.aiplatform_v1beta1.types.GcsDestination
The Cloud Storage path to write partial failures to. Deprecated. Prefer to use import_result_gcs_sink. This field is a member of oneof_ partial_failure_sink.
partial_failure_bigquery_sink google.cloud.aiplatform_v1beta1.types.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. This field is a member of oneof_ partial_failure_sink.
rag_file_chunking_config google.cloud.aiplatform_v1beta1.types.RagFileChunkingConfig
Specifies the size and overlap of chunks after importing RagFiles.
rag_file_transformation_config google.cloud.aiplatform_v1beta1.types.RagFileTransformationConfig
Specifies the transformation config for RagFiles.
rag_file_parsing_config google.cloud.aiplatform_v1beta1.types.RagFileParsingConfig
Optional. Specifies the parsing config for RagFiles. RAG will use the default parser if this field is not set.
max_embedding_requests_per_min 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.

Methods

ImportRagFilesConfig

ImportRagFilesConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Config for importing RagFiles.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields