public static final class RagEmbeddingModelConfig.Builder extends GeneratedMessage.Builder<RagEmbeddingModelConfig.Builder> implements RagEmbeddingModelConfigOrBuilder
Config for the embedding model to use for RAG.
Protobuf type google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public RagEmbeddingModelConfig build()
public RagEmbeddingModelConfig buildPartial()
public RagEmbeddingModelConfig.Builder clear()
Overrides
public RagEmbeddingModelConfig.Builder clearHybridSearchConfig()
Configuration for hybrid search.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.HybridSearchConfig hybrid_search_config = 2;
public RagEmbeddingModelConfig.Builder clearModelConfig()
public RagEmbeddingModelConfig.Builder clearVertexPredictionEndpoint()
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.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;
public RagEmbeddingModelConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public RagEmbeddingModelConfig.HybridSearchConfig getHybridSearchConfig()
Configuration for hybrid search.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.HybridSearchConfig hybrid_search_config = 2;
public RagEmbeddingModelConfig.HybridSearchConfig.Builder getHybridSearchConfigBuilder()
Configuration for hybrid search.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.HybridSearchConfig hybrid_search_config = 2;
public RagEmbeddingModelConfig.HybridSearchConfigOrBuilder getHybridSearchConfigOrBuilder()
Configuration for hybrid search.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.HybridSearchConfig hybrid_search_config = 2;
public RagEmbeddingModelConfig.ModelConfigCase getModelConfigCase()
public RagEmbeddingModelConfig.VertexPredictionEndpoint getVertexPredictionEndpoint()
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.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;
public RagEmbeddingModelConfig.VertexPredictionEndpoint.Builder getVertexPredictionEndpointBuilder()
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.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;
public RagEmbeddingModelConfig.VertexPredictionEndpointOrBuilder getVertexPredictionEndpointOrBuilder()
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.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;
public boolean hasHybridSearchConfig()
Configuration for hybrid search.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.HybridSearchConfig hybrid_search_config = 2;
| Returns |
| Type |
Description |
boolean |
Whether the hybridSearchConfig field is set.
|
public boolean hasVertexPredictionEndpoint()
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.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;
| Returns |
| Type |
Description |
boolean |
Whether the vertexPredictionEndpoint field is set.
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RagEmbeddingModelConfig.Builder mergeFrom(RagEmbeddingModelConfig other)
public RagEmbeddingModelConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RagEmbeddingModelConfig.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public RagEmbeddingModelConfig.Builder mergeHybridSearchConfig(RagEmbeddingModelConfig.HybridSearchConfig value)
Configuration for hybrid search.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.HybridSearchConfig hybrid_search_config = 2;
public RagEmbeddingModelConfig.Builder mergeVertexPredictionEndpoint(RagEmbeddingModelConfig.VertexPredictionEndpoint value)
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.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;
public RagEmbeddingModelConfig.Builder setHybridSearchConfig(RagEmbeddingModelConfig.HybridSearchConfig value)
Configuration for hybrid search.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.HybridSearchConfig hybrid_search_config = 2;
public RagEmbeddingModelConfig.Builder setHybridSearchConfig(RagEmbeddingModelConfig.HybridSearchConfig.Builder builderForValue)
Configuration for hybrid search.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.HybridSearchConfig hybrid_search_config = 2;
public RagEmbeddingModelConfig.Builder setVertexPredictionEndpoint(RagEmbeddingModelConfig.VertexPredictionEndpoint value)
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.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;
public RagEmbeddingModelConfig.Builder setVertexPredictionEndpoint(RagEmbeddingModelConfig.VertexPredictionEndpoint.Builder builderForValue)
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.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;