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
⌘I

Chat LangChain

What can I help with?

Enter to send·Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
PythonlangsmithschemasFeedbackConfigSchema
Class●Since v0.7

FeedbackConfigSchema

Copy
FeedbackConfigSchema()

Bases

BaseModel

Attributes

Inherited fromBaseModel

Attributes

Amodel_fields_set: set[str]Amodel_config: ConfigDictAmodel_construct: construct

Methods

Mto_dict
—

Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.

View source on GitHub
Mto_json
—

Generates a JSON string representing this model as it would be received from or sent to the API (but with indentation).

Mconstruct
Mmodel_dump
—

Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump

Mmodel_dump_json
—

Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json

Classes

CConfig
attribute
id: Optional[UUID]
attribute
feedback_key: str
attribute
feedback_config: FeedbackConfig
attribute
tenant_id: UUID
attribute
modified_at: datetime
attribute
is_lower_score_better: Optional[bool]
attribute
is_enforced: bool
attribute
is_first: bool
attribute
is_deleted: bool

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.

The ID of this feedback configuration. A key can have more than one.

The feedback key this configuration belongs to.

The configuration specifying the type, bounds, and categories.

The ID of the tenant that owns this feedback configuration.

When this feedback configuration was last modified.

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

Whether this is its key's enforced configuration, which sets the rules for the whole workspace. A key has at most one.

Whether this is its key's first configuration. Feedback that doesn't name a configuration was written against it.

Whether this configuration is deleted. Listed only with include_all_configs.