Class RagEmbeddingModelConfig
- Namespace
- GenerativeAI.Types.RagEngine
- Assembly
- GenerativeAI.dll
Config for the embedding model to use for RAG.
public class RagEmbeddingModelConfig
- Inheritance
-
RagEmbeddingModelConfig
- Inherited Members
- Extension Methods
Properties
HybridSearchConfig
Configuration for hybrid search.
[JsonPropertyName("hybridSearchConfig")]
public RagEmbeddingModelConfigHybridSearchConfig? HybridSearchConfig { get; set; }
Property Value
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.
[JsonPropertyName("vertexPredictionEndpoint")]
public RagEmbeddingModelConfigVertexPredictionEndpoint? VertexPredictionEndpoint { get; set; }