Class RagEmbeddingModelConfig (1.71.1)

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

Config for the embedding model to use for RAG.

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
vertex_prediction_endpoint google.cloud.aiplatform_v1beta1.types.RagEmbeddingModelConfig.VertexPredictionEndpoint
The Vertex AI Prediction Endpoint that either refers to a publisher model or an endpoint that is hosting a 1P fine-tuned text embedding model. Endpoints hosting non-1P fine-tuned text embedding models are currently not supported. This is used for dense vector search. This field is a member of oneof_ model_config.
hybrid_search_config google.cloud.aiplatform_v1beta1.types.RagEmbeddingModelConfig.HybridSearchConfig
Configuration for hybrid search. This field is a member of oneof_ model_config.

Classes

HybridSearchConfig

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

Config for hybrid search.

SparseEmbeddingConfig

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

VertexPredictionEndpoint

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

Config representing a model hosted on Vertex Prediction Endpoint.

Methods

RagEmbeddingModelConfig

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

Config for the embedding model to use for RAG.

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