GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswer (google_api_discovery_engine v0.28.0)
View SourceDefines 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. -
blobAttachments(type:list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment.t), default:nil) - List of blob attachments in the 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. -
groundingScore(type:float(), default:nil) - A score in the range of [0, 1] describing how grounded the answer is by the reference chunks. -
groundingSupports(type:list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport.t), default:nil) - Optional. Grounding supports. -
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. -
safetyRatings(type:list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaSafetyRating.t), default:nil) - Optional. Safety ratings. -
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, blobAttachments: [ GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment.t() ] | nil, citations: [ GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswerCitation.t() ] | nil, completeTime: DateTime.t() | nil, createTime: DateTime.t() | nil, groundingScore: float() | nil, groundingSupports: [ GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport.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, safetyRatings: [ GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaSafetyRating.t() ] | nil, state: String.t() | nil, steps: [ GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaAnswerStep.t() ] | nil }