Discovery Engine v1 API - Class Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Types.ChunkInfo (1.1.0)

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 v1 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.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.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; }

Relevance score.

Property Value
Type Description
float