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
PythonlangsmithevaluationevaluatorFeedbackConfig
Class●Since v0.1

FeedbackConfig

Configuration to define a type of feedback.

Applied on on the first creation of a feedback_key.

Copy
FeedbackConfig()

Bases

TypedDict

Constructors

constructor
__init__
NameType
typeLiteral['continuous', 'categorical', 'freeform']
minOptional[Union[float, int]]
maxOptional[Union[float, int]]
categoriesOptional[list[Union[Category, dict]]]

Attributes

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

The type of feedback.

attribute
min: Optional[Union[float, int]]

The minimum permitted value (if continuous type).

attribute
max: Optional[Union[float, int]]

The maximum value permitted value (if continuous type).

attribute
categories: Optional[list[Union[Category, dict]]]
View source on GitHub