public static interface RagEmbeddingModelConfig.HybridSearchConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDenseEmbeddingModelPredictionEndpoint()
public abstract RagEmbeddingModelConfig.VertexPredictionEndpoint getDenseEmbeddingModelPredictionEndpoint()
Required. The Vertex AI Prediction Endpoint that hosts the embedding model for dense embedding generations.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint dense_embedding_model_prediction_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RagEmbeddingModelConfig.VertexPredictionEndpoint |
The denseEmbeddingModelPredictionEndpoint. |
getDenseEmbeddingModelPredictionEndpointOrBuilder()
public abstract RagEmbeddingModelConfig.VertexPredictionEndpointOrBuilder getDenseEmbeddingModelPredictionEndpointOrBuilder()
Required. The Vertex AI Prediction Endpoint that hosts the embedding model for dense embedding generations.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint dense_embedding_model_prediction_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RagEmbeddingModelConfig.VertexPredictionEndpointOrBuilder |
getSparseEmbeddingConfig()
public abstract RagEmbeddingModelConfig.SparseEmbeddingConfig getSparseEmbeddingConfig()
Optional. The configuration for sparse embedding generation. This field is optional the default behavior depends on the vector database choice on the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.SparseEmbeddingConfig sparse_embedding_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RagEmbeddingModelConfig.SparseEmbeddingConfig |
The sparseEmbeddingConfig. |
getSparseEmbeddingConfigOrBuilder()
public abstract RagEmbeddingModelConfig.SparseEmbeddingConfigOrBuilder getSparseEmbeddingConfigOrBuilder()
Optional. The configuration for sparse embedding generation. This field is optional the default behavior depends on the vector database choice on the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.SparseEmbeddingConfig sparse_embedding_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RagEmbeddingModelConfig.SparseEmbeddingConfigOrBuilder |
hasDenseEmbeddingModelPredictionEndpoint()
public abstract boolean hasDenseEmbeddingModelPredictionEndpoint()
Required. The Vertex AI Prediction Endpoint that hosts the embedding model for dense embedding generations.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint dense_embedding_model_prediction_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the denseEmbeddingModelPredictionEndpoint field is set. |
hasSparseEmbeddingConfig()
public abstract boolean hasSparseEmbeddingConfig()
Optional. The configuration for sparse embedding generation. This field is optional the default behavior depends on the vector database choice on the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.SparseEmbeddingConfig sparse_embedding_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the sparseEmbeddingConfig field is set. |