Uses of Class
com.google.cloud.aiplatform.v1.RagChunk.Builder
Packages that use RagChunk.Builder
-
Uses of RagChunk.Builder in com.google.cloud.aiplatform.v1
Methods in com.google.cloud.aiplatform.v1 that return RagChunk.BuilderModifier and TypeMethodDescriptionRagChunk.Builder.clear()RagChunk.Builder.clearPageSpan()If populated, represents where the chunk starts and ends in the document.RagChunk.Builder.clearText()The content of the chunk.Fact.Builder.getChunkBuilder()If present, chunk properties.RagContexts.Context.Builder.getChunkBuilder()Context of the retrieved chunk.GroundingChunk.RetrievedContext.Builder.getRagChunkBuilder()Additional context for the RAG retrieval result.RagChunk.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) RagChunk.Builder.mergeFrom(com.google.protobuf.Message other) RagChunk.Builder.mergePageSpan(RagChunk.PageSpan value) If populated, represents where the chunk starts and ends in the document.static RagChunk.BuilderRagChunk.newBuilder()static RagChunk.BuilderRagChunk.newBuilder(RagChunk prototype) RagChunk.newBuilderForType()protected RagChunk.BuilderRagChunk.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) RagChunk.Builder.setPageSpan(RagChunk.PageSpan value) If populated, represents where the chunk starts and ends in the document.RagChunk.Builder.setPageSpan(RagChunk.PageSpan.Builder builderForValue) If populated, represents where the chunk starts and ends in the document.The content of the chunk.RagChunk.Builder.setTextBytes(com.google.protobuf.ByteString value) The content of the chunk.RagChunk.toBuilder()Methods in com.google.cloud.aiplatform.v1 with parameters of type RagChunk.BuilderModifier and TypeMethodDescriptionFact.Builder.setChunk(RagChunk.Builder builderForValue) If present, chunk properties.RagContexts.Context.Builder.setChunk(RagChunk.Builder builderForValue) Context of the retrieved chunk.GroundingChunk.RetrievedContext.Builder.setRagChunk(RagChunk.Builder builderForValue) Additional context for the RAG retrieval result.