# Class SemanticSimilarityResult (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

    SemanticSimilarityResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The result of the semantic similarity check.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `score` | `int` Output only. The semantic similarity score. Can be 0, 1, 2, 3, or 4. This field is a member of `oneof`_ `_score`. |
| `label` | `str` Output only. The label associated with each score. Score 4: Fully Consistent Score 3: Mostly Consistent Score 2: Partially Consistent (Minor Omissions) Score 1: Largely Inconsistent (Major Omissions) Score 0: Completely Inconsistent / Contradictory |
| `explanation` | `str` Output only. The explanation for the semantic similarity score. |
| `outcome` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.EvaluationResult.Outcome` Output only. The outcome of the semantic similarity check. This is determined by comparing the score to the semantic_similarity_success_threshold. If the score is equal to or above the threshold, the outcome will be PASS. Otherwise, the outcome will be FAIL. |