Discovery Engine v1beta API - Class Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Types.ChunkInfo (1.0.0-beta17)

public sealed class Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Types.ChunkInfo : IMessage<Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Types.ChunkInfo>, IEquatable<Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Types.ChunkInfo>, IDeepCloneable<Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Types.ChunkInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Types.ChunkInfo.

Chunk information.

Inheritance

object > Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Types.ChunkInfo

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

ChunkInfo()

public ChunkInfo()

ChunkInfo(ChunkInfo)

public ChunkInfo(Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Types.ChunkInfo other)
Parameter
Name Description
other AnswerTypesStepTypesActionTypesObservationTypesSearchResultTypesChunkInfo

Properties

Chunk

public string Chunk { get; set; }

Chunk resource name.

Property Value
Type Description
string

Content

public string Content { get; set; }

Chunk textual content.

Property Value
Type Description
string

HasRelevanceScore

public bool HasRelevanceScore { get; }

Gets whether the "relevance_score" field is set

Property Value
Type Description
bool

RelevanceScore

public float RelevanceScore { get; set; }

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.

Property Value
Type Description
float