langsmith.client.Client.pull_prompt#

Client.pull_prompt(prompt_identifier: str, *, include_model: bool | None = False) Any[source]#

Pull a prompt and return it as a LangChain PromptTemplate.

This method requires langchain_core.

Parameters:
  • prompt_identifier (str) – The identifier of the prompt.

  • include_model (bool | None) –

Returns:

The prompt object in the specified format.

Return type:

Any