pull#
- langchain.hub.pull(owner_repo_commit: str, *, 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 repo to pull from in the format of owner/repo:commit_hash.
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.
- Return type:
Any