Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ArticleAnswer.
Represents article answer.
Generated from protobuf message google.cloud.dialogflow.v2.ArticleAnswer
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ title
string
The article title.
↳ uri
string
The article URI.
↳ snippets
array
Article snippets.
↳ confidence
float
Article match confidence. The system's confidence score that this article is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain).
↳ metadata
array| Google\Protobuf\Internal\MapField
A map that contains metadata about the answer and the document from which it originates.
↳ answer_record
string
The name of answer record, in the format of "projects/
getTitle
The article title.
string
setTitle
The article title.
var
string
$this
getUri
The article URI.
string
setUri
The article URI.
var
string
$this
getSnippets
Article snippets.
setSnippets
Article snippets.
var
string[]
$this
getConfidence
Article match confidence.
The system's confidence score that this article is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain).
float
setConfidence
Article match confidence.
The system's confidence score that this article is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain).
var
float
$this
getMetadata
A map that contains metadata about the answer and the document from which it originates.
setMetadata
A map that contains metadata about the answer and the document from which it originates.
$this
getAnswerRecord
The name of answer record, in the format of "projects/
string
setAnswerRecord
The name of answer record, in the format of "projects/
var
string
$this