FeedbackSourceBase#

class langsmith.schemas.FeedbackSourceBase[source]#

Bases: BaseModel

Base class for feedback sources.

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

etc.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

param metadata: Dict[str, Any] | None [Optional]#

Additional metadata for the feedback source.

param type: str [Required]#

The type of the feedback source.