GoogleCloudContentwarehouseV1QAResult

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1QAResult


Table of Contents ▼

Jump to a specific part of the page:

Description

Additional result info for the question-answering feature.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. confidenceScore (type: number(), default: nil)
    - The calibrated confidence score for this document, in the range [0., 1.]. This represents the confidence level for whether the returned document and snippet answers the user's query.
  2. highlights (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1QAResultHighlight), default: nil)
    - Highlighted sections in the snippet.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1QAResult{
confidenceScore: number() | nil,
highlights: [ GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1QAResultHighlight.t() ] | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1QAResult