Class ImportRagFilesConfig (1.55.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: http://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.
rag_file_chunking_config google.cloud.aiplatform_v1beta1.types.RagFileChunkingConfig
Specifies the size and overlap of chunks after importing RagFiles.
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: http://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields