Skip to main content

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

schemas.ts:337


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

schemas.ts:356


max

Optional max: null | number

The maximum value for continuous feedback.

Defined in

schemas.ts:347


min

Optional min: null | number

The minimum value for continuous feedback.

Defined in

schemas.ts:342


Was this page helpful?