Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class FaqAnswerData.
Agent Assist frequently-asked-question answer data.
Generated from protobuf message google.cloud.contactcenterinsights.v1.FaqAnswerData
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ answer
string
The piece of text from the source
knowledge base document.
↳ confidence_score
float
The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
↳ question
string
The corresponding FAQ question.
↳ metadata
array| Google\Protobuf\Internal\MapField
Map that contains metadata about the FAQ answer and the document that it originates from.
↳ query_record
string
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
↳ source
string
The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.
getAnswer
The piece of text from the source
knowledge base document.
string
setAnswer
The piece of text from the source
knowledge base document.
var
string
$this
getConfidenceScore
The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
float
setConfidenceScore
The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
var
float
$this
getQuestion
The corresponding FAQ question.
string
setQuestion
The corresponding FAQ question.
var
string
$this
getMetadata
Map that contains metadata about the FAQ answer and the document that it originates from.
setMetadata
Map that contains metadata about the FAQ answer and the document that it originates from.
$this
getQueryRecord
The name of the answer record.
Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
string
setQueryRecord
The name of the answer record.
Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
var
string
$this
getSource
The knowledge document that this answer was extracted from.
Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.
string
setSource
The knowledge document that this answer was extracted from.
Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.
var
string
$this