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
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

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

PromptCommit

Represents a Prompt with a manifest.

Copy
PromptCommit()

Bases

BaseModel

Attributes

View source on GitHub
attribute
model_config
attribute
owner: str
attribute
repo: str
attribute
commit_hash: str
attribute
manifest: dict[str, Any]
attribute
examples: list[dict]
attribute
description: Optional[str]
attribute
hub_model_config: Optional[dict]
attribute
hub_model_provider: Optional[str]

The handle of the owner of the prompt.

The name of the prompt.

The commit hash of the prompt.

The manifest of the prompt.

The list of examples.

Optional human-readable description for the commit.

The model configuration for the prompt.

The model provider (e.g. ChatOpenAI).