RagEmbeddingModelConfig class final
Config for the embedding model to use for RAG.
- Inheritance
-
- Object
- ProtoMessage
- RagEmbeddingModelConfig
Constructors
- RagEmbeddingModelConfig({RagEmbeddingModelConfig_VertexPredictionEndpoint? vertexPredictionEndpoint, RagEmbeddingModelConfig_HybridSearchConfig? hybridSearchConfig})
-
RagEmbeddingModelConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hybridSearchConfig → RagEmbeddingModelConfig_HybridSearchConfig?
-
Configuration for hybrid search.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- vertexPredictionEndpoint → 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.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String