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

FeedbackSourceBase

Base class for feedback sources.

This represents whether feedback is submitted from the API, model, human labeler, etc.

Copy
FeedbackSourceBase()

Bases

BaseModel

Attributes

attribute
type: str

The type of the feedback source.

attribute
metadata: Optional[dict[str, Any]]

Additional metadata for the feedback source.

attribute
user_id: Optional[Union[UUID, str]]

The user ID associated with the feedback source.

attribute
user_name: Optional[str]

The user name associated with the feedback source.

View source on GitHub