SimpleModel#
- class langchain_prompty.core.SimpleModel[source]#
Bases:
BaseModel
,Generic
[T
]Simple model for a single item.
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 item: T = None#