public static interface Answer.Reference.UnstructuredDocumentInfo.ChunkContentOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Chunk textual content.
|
com.google.protobuf.ByteString |
getContentBytes()
Chunk textual content.
|
String |
getPageIdentifier()
Page identifier.
|
com.google.protobuf.ByteString |
getPageIdentifierBytes()
Page identifier.
|
float |
getRelevanceScore()
The relevance of the chunk for a given query.
|
boolean |
hasRelevanceScore()
The relevance of the chunk for a given query.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getContent()
Chunk textual content.
string content = 1;com.google.protobuf.ByteString getContentBytes()
Chunk textual content.
string content = 1;String getPageIdentifier()
Page identifier.
string page_identifier = 2;com.google.protobuf.ByteString getPageIdentifierBytes()
Page identifier.
string page_identifier = 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;Copyright © 2025 Google LLC. All rights reserved.