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

FeedbackConfigSchema

Represents a feedback configuration for a tenant's feedback key.

Feedback configurations define how feedback with a given key should be interpreted, including its type (continuous, categorical, or freeform), scoring bounds, and valid categories.

Copy
FeedbackConfigSchema()

Bases

BaseModel

Attributes

attribute
feedback_key: str

The unique key identifying this feedback configuration.

attribute
feedback_config: FeedbackConfig

The configuration specifying the type, bounds, and categories.

attribute
tenant_id: UUID

The ID of the tenant that owns this feedback configuration.

attribute
modified_at: datetime

When this feedback configuration was last modified.

attribute
is_lower_score_better: Optional[bool]

Whether a lower score is considered better for this feedback key.

View source on GitHub