Uses of Class
com.google.cloud.aiplatform.v1.RagContexts.Context.Builder
Packages that use RagContexts.Context.Builder
-
Uses of RagContexts.Context.Builder in com.google.cloud.aiplatform.v1
Methods in com.google.cloud.aiplatform.v1 that return RagContexts.Context.BuilderModifier and TypeMethodDescriptionRagContexts.Builder.addContextsBuilder()All its contexts.RagContexts.Builder.addContextsBuilder(int index) All its contexts.RagContexts.Context.Builder.clear()RagContexts.Context.Builder.clearChunk()Context of the retrieved chunk.RagContexts.Context.Builder.clearScore()According to the underlying Vector DB and the selected metric type, the score can be either the distance or the similarity between the query and the context and its range depends on the metric type.RagContexts.Context.Builder.clearSourceDisplayName()The file display name.RagContexts.Context.Builder.clearSourceUri()If the file is imported from Cloud Storage or Google Drive, source_uri will be original file URI in Cloud Storage or Google Drive; if file is uploaded, source_uri will be file display name.RagContexts.Context.Builder.clearText()The text chunk.RagContexts.Builder.getContextsBuilder(int index) All its contexts.RagContexts.Context.Builder.mergeChunk(RagChunk value) Context of the retrieved chunk.RagContexts.Context.Builder.mergeFrom(RagContexts.Context other) RagContexts.Context.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) RagContexts.Context.Builder.mergeFrom(com.google.protobuf.Message other) static RagContexts.Context.BuilderRagContexts.Context.newBuilder()static RagContexts.Context.BuilderRagContexts.Context.newBuilder(RagContexts.Context prototype) RagContexts.Context.newBuilderForType()protected RagContexts.Context.BuilderRagContexts.Context.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Context of the retrieved chunk.RagContexts.Context.Builder.setChunk(RagChunk.Builder builderForValue) Context of the retrieved chunk.RagContexts.Context.Builder.setScore(double value) According to the underlying Vector DB and the selected metric type, the score can be either the distance or the similarity between the query and the context and its range depends on the metric type.RagContexts.Context.Builder.setSourceDisplayName(String value) The file display name.RagContexts.Context.Builder.setSourceDisplayNameBytes(com.google.protobuf.ByteString value) The file display name.RagContexts.Context.Builder.setSourceUri(String value) If the file is imported from Cloud Storage or Google Drive, source_uri will be original file URI in Cloud Storage or Google Drive; if file is uploaded, source_uri will be file display name.RagContexts.Context.Builder.setSourceUriBytes(com.google.protobuf.ByteString value) If the file is imported from Cloud Storage or Google Drive, source_uri will be original file URI in Cloud Storage or Google Drive; if file is uploaded, source_uri will be file display name.The text chunk.RagContexts.Context.Builder.setTextBytes(com.google.protobuf.ByteString value) The text chunk.RagContexts.Context.toBuilder()Methods in com.google.cloud.aiplatform.v1 that return types with arguments of type RagContexts.Context.BuilderMethods in com.google.cloud.aiplatform.v1 with parameters of type RagContexts.Context.BuilderModifier and TypeMethodDescriptionRagContexts.Builder.addContexts(int index, RagContexts.Context.Builder builderForValue) All its contexts.RagContexts.Builder.addContexts(RagContexts.Context.Builder builderForValue) All its contexts.RagContexts.Builder.setContexts(int index, RagContexts.Context.Builder builderForValue) All its contexts.