public static interface Answer.Reference.ChunkInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getChunk()
Chunk resource name.
|
com.google.protobuf.ByteString |
getChunkBytes()
Chunk resource name.
|
String |
getContent()
Chunk textual content.
|
com.google.protobuf.ByteString |
getContentBytes()
Chunk textual content.
|
Answer.Reference.ChunkInfo.DocumentMetadata |
getDocumentMetadata()
Document metadata.
|
Answer.Reference.ChunkInfo.DocumentMetadataOrBuilder |
getDocumentMetadataOrBuilder()
Document metadata.
|
float |
getRelevanceScore()
The relevance of the chunk for a given query.
|
boolean |
hasDocumentMetadata()
Document metadata.
|
boolean |
hasRelevanceScore()
The relevance of the chunk for a given query.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getChunk()
Chunk resource name.
string chunk = 1 [(.google.api.resource_reference) = { ... }com.google.protobuf.ByteString getChunkBytes()
Chunk resource name.
string chunk = 1 [(.google.api.resource_reference) = { ... }String getContent()
Chunk textual content.
string content = 2;com.google.protobuf.ByteString getContentBytes()
Chunk textual content.
string content = 2;boolean hasRelevanceScore()
The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.
optional float relevance_score = 3;float getRelevanceScore()
The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.
optional float relevance_score = 3;boolean hasDocumentMetadata()
Document metadata.
.google.cloud.discoveryengine.v1alpha.Answer.Reference.ChunkInfo.DocumentMetadata document_metadata = 4;
Answer.Reference.ChunkInfo.DocumentMetadata getDocumentMetadata()
Document metadata.
.google.cloud.discoveryengine.v1alpha.Answer.Reference.ChunkInfo.DocumentMetadata document_metadata = 4;
Answer.Reference.ChunkInfo.DocumentMetadataOrBuilder getDocumentMetadataOrBuilder()
Document metadata.
.google.cloud.discoveryengine.v1alpha.Answer.Reference.ChunkInfo.DocumentMetadata document_metadata = 4;
Copyright © 2024 Google LLC. All rights reserved.