Ask a question to get started
Enter to sendā¢Shift+Enter new line
create_commit( self, prompt_identifier: str, object: Any, *, parent_commit_hash: Optional
prompt_identifier
str
The identifier of the prompt.
object
Any
The LangChain object to commit.
parent_commit_hash
Optional[str]
None
The hash of the parent commit. Defaults to latest commit.
tags
Optional[str | list[str]]
description
Create a commit for an existing prompt.
A single tag or list of tags to apply to the commit. Defaults to None.
Optional human-readable description for the commit (max 1000 chars). Defaults to None.