The response message for Conversations.SearchKnowledge
.
JSON representation |
---|
{
"answers": [
{
object ( |
Fields | |
---|---|
answers[] |
Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence. |
rewritten |
The rewritten query used to search knowledge. |
SearchKnowledgeAnswer
Represents a SearchKnowledge answer.
JSON representation |
---|
{ "answer": string, "answerType": enum ( |
Fields | |
---|---|
answer |
The piece of text from the knowledge base documents that answers the search query |
answer |
The type of the answer. |
answer |
All sources used to generate the answer. |
answer |
The name of the answer record. Format: |
AnswerType
The type of the answer.
Enums | |
---|---|
ANSWER_TYPE_UNSPECIFIED |
The answer has a unspecified type. |
FAQ |
The answer is from FAQ documents. |
GENERATIVE |
The answer is from generative model. |
INTENT |
The answer is from intent matching. |
AnswerSource
The sources of the answers.
JSON representation |
---|
{ "title": string, "uri": string, "snippet": string, "metadata": { object } } |
Fields | |
---|---|
title |
The title of the article. |
uri |
The URI of the article. |
snippet |
The relevant snippet of the article. |
metadata |
Metadata associated with the article. |