Class CorpusTypeConfig (1.122.0)

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

The config for the corpus type of the RagCorpus.

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
document_corpus google.cloud.aiplatform_v1beta1.types.RagCorpus.CorpusTypeConfig.DocumentCorpus
Optional. Config for the document corpus. This field is a member of oneof_ corpus_type_config.
memory_corpus google.cloud.aiplatform_v1beta1.types.RagCorpus.CorpusTypeConfig.MemoryCorpus
Optional. Config for the memory corpus. This field is a member of oneof_ corpus_type_config.

Classes

DocumentCorpus

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

Config for the document corpus.

MemoryCorpus

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

Config for the memory corpus.

Methods

CorpusTypeConfig

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

The config for the corpus type of the RagCorpus.

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