Interface Answer.Step.Action.Observation.SearchResult.ChunkInfoOrBuilder (0.40.0)

public static interface Answer.Step.Action.Observation.SearchResult.ChunkInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChunk()

public abstract String getChunk()

Chunk resource name.

string chunk = 1;

Returns
Type Description
String

The chunk.

getChunkBytes()

public abstract ByteString getChunkBytes()

Chunk resource name.

string chunk = 1;

Returns
Type Description
ByteString

The bytes for chunk.

getContent()

public abstract String getContent()

Chunk textual content.

string content = 2;

Returns
Type Description
String

The content.

getContentBytes()

public abstract ByteString getContentBytes()

Chunk textual content.

string content = 2;

Returns
Type Description
ByteString

The bytes for content.

getRelevanceScore()

public abstract float getRelevanceScore()

Relevance score.

optional float relevance_score = 3;

Returns
Type Description
float

The relevanceScore.

hasRelevanceScore()

public abstract boolean hasRelevanceScore()

Relevance score.

optional float relevance_score = 3;

Returns
Type Description
boolean

Whether the relevanceScore field is set.