create_feedback_config(
self,
feedback_key: str,
*,
feedback_config: ls_schemas.FeedbackConfig,
is_lower_score_better: Optional| Name | Type | Description |
|---|---|---|
feedback_key* | str | |
feedback_config* | ls_schemas.FeedbackConfig | |
is_lower_score_better | Optional[bool] | Default: False |
Create a feedback configuration.
Defines how feedback with a given key should be interpreted. If an identical configuration already exists for the key, it is returned unchanged. If a different configuration already exists for the key, an error is raised.
The feedback key to configure.
The configuration defining type, bounds, and categories.
Whether a lower score is considered better. Defaults to False.