Class ImportRagFilesConfig (1.49.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

NameDescription
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.

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