Resource: Answer
Defines an answer.
JSON representation |
---|
{ "name": string, "state": enum ( |
Fields | |
---|---|
name |
Immutable. Fully qualified name |
state |
The state of the answer generation. |
answer |
The textual answer. |
citations[] |
Citations. |
grounding |
Optional. Grounding supports. |
references[] |
References. |
related |
Suggested related questions. |
steps[] |
Answer generation steps. |
query |
Query understanding information. |
answer |
Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set. |
create |
Output only. Answer creation timestamp. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
complete |
Output only. Answer completed timestamp. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
safety |
Optional. Safety ratings. |
grounding |
A score in the range of [0, 1] describing how grounded the answer is by the reference chunks. |
Methods |
|
---|---|
|
Gets a Answer. |