Prompty#
- class langchain_prompty.core.Prompty[source]#
Bases:
BaseModel
Base Prompty model.
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 authors: List[str] = []#
- param base: str = ''#
- param content: str = ''#
- param description: str = ''#
- param file: FilePath = ''#
- Constraints:
format = file-path
- param inputs: Dict[str, PropertySettings] = {}#
- param model: ModelSettings [Optional]#
- param name: str = ''#
- param outputs: Dict[str, PropertySettings] = {}#
- param sample: dict = {}#
- param tags: List[str] = []#
- param template: TemplateSettings [Required]#
- param version: str = ''#