CategoryScore¶
-
class
oci.generative_ai_inference.models.CategoryScore(**kwargs)¶ Bases:
objectA category with its score.
Methods
__init__(**kwargs)Initializes a new CategoryScore object with values from keyword arguments. Attributes
name[Required] Gets the name of this CategoryScore. score[Required] Gets the score of this CategoryScore. -
__init__(**kwargs)¶ Initializes a new CategoryScore object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this CategoryScore.
- score (float) – The value to assign to the score property of this CategoryScore.
-
name¶ [Required] Gets the name of this CategoryScore. The name of the category.
Returns: The name of this CategoryScore. Return type: str
-
score¶ [Required] Gets the score of this CategoryScore. The score of the category.
Returns: The score of this CategoryScore. Return type: float
-