LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
  • RemoteGraph
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDKRemoteGraph
Language
Theme
PythonlangsmithschemasFeedbackConfig
Class●Since v0.1

FeedbackConfig

Represents how a feedback value ought to be interpreted.

Copy
FeedbackConfig()

Bases

TypedDict

Constructors

constructor
__init__
NameType
typeLiteral['continuous', 'categorical', 'freeform']
minOptional[float]
maxOptional[float]
categoriesOptional[list[FeedbackCategory]]

Attributes

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

The type of feedback.

attribute
min: Optional[float]

The minimum value for continuous feedback.

attribute
max: Optional[float]

The maximum value for continuous feedback.

attribute
categories: Optional[list[FeedbackCategory]]

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

View source on GitHub