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.  | 
            
rewrittenQuery | 
              
                 
 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  | 
              
answerType | 
                
                   
 The type of the answer.  | 
              
answerSources[] | 
                
                   
 All sources used to generate the answer.  | 
              
answerRecord | 
                
                   
 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.  |