# FaqAnswer

- [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/FaqAnswer#SCHEMA_REPRESENTATION)

Represents answer from "frequently asked questions".

| JSON representation |
|---|
| ``` { "answer": string, "confidence": number, "question": string, "source": string, "metadata": { string: string, ... }, "answerRecord": string } ``` |

| Fields ||
|---|---|
| `answer` | `string` The piece of text from the `source` knowledge base document. |
| `confidence` | `number` The system's confidence score that this Knowledge answer is a good match for this conversational query, range from 0.0 (completely uncertain) to 1.0 (completely certain). |
| `question` | `string` The corresponding FAQ question. |
| `source` | `string` Indicates which Knowledge Document this answer was extracted from. Format: `projects/<Project ID>/locations/<Location ID>/agent/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>`. |
| `metadata` | `map (key: string, value: string)` A map that contains metadata about the answer and the document from which it originates. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `answerRecord` | `string` The name of answer record, in the format of "projects//locations//answerRecords/" |