PromptCommit#
- class langsmith.schemas.PromptCommit[source]#
Bases:
BaseModel
Represents a Prompt with a manifest.
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 commit_hash: str [Required]#
The commit hash of the prompt.
- param examples: List[dict] [Required]#
The list of examples.
- param manifest: Dict[str, Any] [Required]#
The manifest of the prompt.
- param owner: str [Required]#
The handle of the owner of the prompt.
- param repo: str [Required]#
The name of the prompt.