public final class RagEmbeddingModelConfig extends com.google.protobuf.GeneratedMessageV3 implements RagEmbeddingModelConfigOrBuilder
Config for the embedding model to use for RAG.Protobuf type
google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig| Modifier and Type | Class and Description |
|---|---|
static class |
RagEmbeddingModelConfig.Builder
Config for the embedding model to use for RAG.
|
static class |
RagEmbeddingModelConfig.HybridSearchConfig
Config for hybrid search.
|
static interface |
RagEmbeddingModelConfig.HybridSearchConfigOrBuilder |
static class |
RagEmbeddingModelConfig.ModelConfigCase |
static class |
RagEmbeddingModelConfig.SparseEmbeddingConfig
Configuration for sparse emebdding generation.
|
static interface |
RagEmbeddingModelConfig.SparseEmbeddingConfigOrBuilder |
static class |
RagEmbeddingModelConfig.VertexPredictionEndpoint
Config representing a model hosted on Vertex Prediction Endpoint.
|
static interface |
RagEmbeddingModelConfig.VertexPredictionEndpointOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
HYBRID_SEARCH_CONFIG_FIELD_NUMBER |
static int |
VERTEX_PREDICTION_ENDPOINT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RagEmbeddingModelConfig |
getDefaultInstance() |
RagEmbeddingModelConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RagEmbeddingModelConfig.HybridSearchConfig |
getHybridSearchConfig()
Configuration for hybrid search.
|
RagEmbeddingModelConfig.HybridSearchConfigOrBuilder |
getHybridSearchConfigOrBuilder()
Configuration for hybrid search.
|
RagEmbeddingModelConfig.ModelConfigCase |
getModelConfigCase() |
com.google.protobuf.Parser<RagEmbeddingModelConfig> |
getParserForType() |
int |
getSerializedSize() |
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.
|
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.
|
int |
hashCode() |
boolean |
hasHybridSearchConfig()
Configuration for hybrid search.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RagEmbeddingModelConfig.Builder |
newBuilder() |
static RagEmbeddingModelConfig.Builder |
newBuilder(RagEmbeddingModelConfig prototype) |
RagEmbeddingModelConfig.Builder |
newBuilderForType() |
protected RagEmbeddingModelConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RagEmbeddingModelConfig |
parseDelimitedFrom(InputStream input) |
static RagEmbeddingModelConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RagEmbeddingModelConfig |
parseFrom(byte[] data) |
static RagEmbeddingModelConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RagEmbeddingModelConfig |
parseFrom(ByteBuffer data) |
static RagEmbeddingModelConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RagEmbeddingModelConfig |
parseFrom(com.google.protobuf.ByteString data) |
static RagEmbeddingModelConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RagEmbeddingModelConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RagEmbeddingModelConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RagEmbeddingModelConfig |
parseFrom(InputStream input) |
static RagEmbeddingModelConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RagEmbeddingModelConfig> |
parser() |
RagEmbeddingModelConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VERTEX_PREDICTION_ENDPOINT_FIELD_NUMBER
public static final int HYBRID_SEARCH_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public RagEmbeddingModelConfig.ModelConfigCase getModelConfigCase()
getModelConfigCase in interface RagEmbeddingModelConfigOrBuilderpublic 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;
hasVertexPredictionEndpoint in interface RagEmbeddingModelConfigOrBuilderpublic 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;
getVertexPredictionEndpoint in interface RagEmbeddingModelConfigOrBuilderpublic 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;
getVertexPredictionEndpointOrBuilder in interface RagEmbeddingModelConfigOrBuilderpublic boolean hasHybridSearchConfig()
Configuration for hybrid search.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.HybridSearchConfig hybrid_search_config = 2;
hasHybridSearchConfig in interface RagEmbeddingModelConfigOrBuilderpublic RagEmbeddingModelConfig.HybridSearchConfig getHybridSearchConfig()
Configuration for hybrid search.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.HybridSearchConfig hybrid_search_config = 2;
getHybridSearchConfig in interface RagEmbeddingModelConfigOrBuilderpublic RagEmbeddingModelConfig.HybridSearchConfigOrBuilder getHybridSearchConfigOrBuilder()
Configuration for hybrid search.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.HybridSearchConfig hybrid_search_config = 2;
getHybridSearchConfigOrBuilder in interface RagEmbeddingModelConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RagEmbeddingModelConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RagEmbeddingModelConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RagEmbeddingModelConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RagEmbeddingModelConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RagEmbeddingModelConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RagEmbeddingModelConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RagEmbeddingModelConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static RagEmbeddingModelConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RagEmbeddingModelConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RagEmbeddingModelConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RagEmbeddingModelConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RagEmbeddingModelConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RagEmbeddingModelConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RagEmbeddingModelConfig.Builder newBuilder()
public static RagEmbeddingModelConfig.Builder newBuilder(RagEmbeddingModelConfig prototype)
public RagEmbeddingModelConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RagEmbeddingModelConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RagEmbeddingModelConfig getDefaultInstance()
public static com.google.protobuf.Parser<RagEmbeddingModelConfig> parser()
public com.google.protobuf.Parser<RagEmbeddingModelConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RagEmbeddingModelConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.