Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class Metrics.
A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question.
Generated from protobuf message google.cloud.contactcenterinsights.v1.QaQuestion.Metrics
Namespace
Google \ Cloud \ ContactCenterInsights \ V1 \ QaQuestionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ accuracy |
float
Output only. Accuracy of the model. Measures the percentage of correct answers the model gave on the test set. |
getAccuracy
Output only. Accuracy of the model. Measures the percentage of correct answers the model gave on the test set.
| Returns | |
|---|---|
| Type | Description |
float |
|
setAccuracy
Output only. Accuracy of the model. Measures the percentage of correct answers the model gave on the test set.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|