Interface: FeedbackConfig
schemas.FeedbackConfig
Represents the configuration for feedback. This determines how the LangSmith service interprets feedback values of the associated key.
Properties
type
• type: "continuous"
| "categorical"
| "freeform"
The type of feedback.
- "continuous": Feedback with a continuous numeric.
- "categorical": Feedback with a categorical value (classes)
- "freeform": Feedback with a freeform text value (notes).
Defined in
categories
• Optional
categories: null
| FeedbackCategory
[]
The categories for categorical feedback. Each category can be a string or an object with additional properties.
If feedback is categorical, this defines the valid categories the server will accept. Not applicable to continuous or freeform feedback types.
Defined in
max
• Optional
max: null
| number
The maximum value for continuous feedback.
Defined in
min
• Optional
min: null
| number
The minimum value for continuous feedback.