FeedbackConfig#

class langsmith.schemas.FeedbackConfig[source]#

Represents _how_ a feedback value ought to be interpreted.

type: Literal['continuous', 'categorical', 'freeform']#

The type of feedback.

min: float | None#

The minimum value for continuous feedback.

max: float | None#

The maximum value for continuous feedback.

categories: List[FeedbackCategory] | None#

If feedback is categorical, this defines the valid categories the server will accept. Not applicable to continuous or freeform feedback types.