LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
  • RemoteGraph
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDKRemoteGraph
Language
Theme
PythonlangsmithschemasPromptCommit
Class●Since v0.1

PromptCommit

Represents a Prompt with a manifest.

Copy
PromptCommit()

Bases

BaseModel

Attributes

attribute
owner: str

The handle of the owner of the prompt.

attribute
repo: str

The name of the prompt.

attribute
commit_hash: str

The commit hash of the prompt.

attribute
manifest: dict[str, Any]

The manifest of the prompt.

attribute
examples: list[dict]

The list of examples.

View source on GitHub