pull#
- langchain.hub.pull(owner_repo_commit: str, *, include_model: bool | None = None, api_url: str | None = None, api_key: str | None = None) Any [source]#
Pull an object from the hub and returns it as a LangChain object.
- Parameters:
owner_repo_commit (str) β The full name of the prompt to pull from in the format of owner/prompt_name:commit_hash or owner/prompt_name or just prompt_name if itβs your own prompt.
api_url (str | None) β The URL of the LangChain Hub API. Defaults to the hosted API service if you have an api key set, or a localhost instance if not.
api_key (str | None) β The API key to use to authenticate with the LangChain Hub API.
include_model (bool | None) β
- Return type:
Any