View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswer (google_api_discovery_engine v0.22.0)
Defines an answer.
Attributes
-
answerSkippedReasons
(type:list(String.t)
, default:nil
) - Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set. -
answerText
(type:String.t
, default:nil
) - The textual answer. -
citations
(type:list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswerCitation.t)
, default:nil
) - Citations. -
completeTime
(type:DateTime.t
, default:nil
) - Output only. Answer completed timestamp. -
createTime
(type:DateTime.t
, default:nil
) - Output only. Answer creation timestamp. -
name
(type:String.t
, default:nil
) - Immutable. Fully qualified nameprojects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*/answers/*
-
queryUnderstandingInfo
(type:GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo.t
, default:nil
) - Query understanding information. -
references
(type:list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswerReference.t)
, default:nil
) - References. -
relatedQuestions
(type:list(String.t)
, default:nil
) - Suggested related questions. -
state
(type:String.t
, default:nil
) - The state of the answer generation. -
steps
(type:list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswerStep.t)
, default:nil
) - Answer generation steps.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswer{ answerSkippedReasons: [String.t()] | nil, answerText: String.t() | nil, citations: [ GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswerCitation.t() ] | nil, completeTime: DateTime.t() | nil, createTime: DateTime.t() | nil, name: String.t() | nil, queryUnderstandingInfo: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo.t() | nil, references: [ GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswerReference.t() ] | nil, relatedQuestions: [String.t()] | nil, state: String.t() | nil, steps: [ GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswerStep.t() ] | nil }
Functions
Unwrap a decoded JSON object into its complex fields.