View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo (google_api_discovery_engine v0.15.0)
Chunk information.
Attributes
-
chunk
(type:String.t
, default:nil
) - Chunk resource name. -
content
(type:String.t
, default:nil
) - Chunk textual content. -
documentMetadata
(type:GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata.t
, default:nil
) - Document metadata. -
relevanceScore
(type:number()
, default:nil
) - 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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo{ chunk: String.t() | nil, content: String.t() | nil, documentMetadata: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata.t() | nil, relevanceScore: number() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.