🌐
LangChain
blog.langchain.com › langchain-prompt-hub
Announcing LangChain Hub
September 27, 2023 - If you would like to upload a prompt but don't have access to LangSmith fill out this form and we will expedite your access so you can start publishing your prompts. We launched a very early version of LangChain Hub at the beginning of the year as a directory of code and README's with the same goal we have today–make it easier to share and discover prompts for any use-case.
🌐
GitHub
github.com › hwchase17 › langchain-hub › blob › master › prompts › README.md
langchain-hub/prompts/README.md at master · hwchase17/langchain-hub
This provides a high level description of the prompt, usage patterns of the prompt and chains that the prompt is compatible with. For more details, check out langchain-hub/readme_template.
Author   hwchase17
🌐
Mirascope
mirascope.com › blog › langchain-prompt-template
A Guide to Prompt Templates in LangChain | Mirascope
June 30, 2025 - For example, you create a prompt template and save each change as a new commit by clicking “Save as.” This creates a version history where each commit is assigned a unique hash number (e.g., 3b929440): You then download and use the prompt by referencing the specific commit hash in your own code: from LangChain import hub obj = hub.pull("langchain-ai/summarization of articles:3b929440")
🌐
LangSmith
smith.langchain.com › hub
LangChain Hub - LangSmith
We cannot provide a description for this page right now
🌐
Langchain
docs.langchain.com › langsmith › create-a-prompt
Create a prompt - Docs by LangChain
The default template format is f-string, but you can change the prompt template format to mustache by clicking on the settings icon next to the model -> prompt format -> template format.
🌐
GitHub
github.com › hwchase17 › langchain-hub
GitHub - hwchase17/langchain-hub
Taking inspiration from Hugging Face Hub, LangChainHub is collection of all artifacts useful for working with LangChain primitives such as prompts, chains and agents.
Starred by 3.4K users
Forked by 282 users
Languages   Python 95.8% | Makefile 4.2%
🌐
Prompt Hub
prompthub.us › blog › prompthub-langchain-integration-guide
PromptHub Blog: PromptHub + LangChain Integration Guide
After running this script, you'll have a fully formatted ChatPromptTemplate with correct variable syntax, ready to be used in your LangChain workflow and sent to an LLM. Now that we’ve retrieved the prompt created the ChatPromptTemplate, all we need to do is send the request to Anthropic, through LangChain.
🌐
Reddit
reddit.com › r/langchain › creating a prompt in langchain hub
r/LangChain on Reddit: Creating a prompt in Langchain hub
August 8, 2024 -

Hey guys, i'm trying to create a prompt in langchain hub from an already existing public prompt by just copying and pasting its content into a new prompt. This is the first prompt I'm trying to create and it seems though I tried to duplicate the original prompt, My prompt is different from the original prompt.
Here's the link to my prompt: https://smith.langchain.com/hub/smtabatabaie/gps
And here's the original prompt: https://smith.langchain.com/hub/smtabatabaie/web-voyager
My prompt has a "ChatOpenAI" whereas the original prompt doesn't have this section. And also my prompt has "scratchpad" as input whereas the original prompt doesn't consider "scratchpad" as an input when I print the prompt in my python script.
Also in my script when I pull and use the original prompt, it works without any problem. But when i pull and use my prompt, it shows me the following error about hitting the maximum context length:

"openai.BadRequestError: Error code: 400 - {'error': {'message': "This model's maximum context length is 128000 tokens. However, your messages resulted in 473683 tokens. Please reduce the length of the messages.", 'type': 'invalid_request_error', 'param': 'messages', 'code': 'context_length_exceeded'}}"

Would really appreciate if you have any idea what's causing this.
Thanks very much.

🌐
LangChain
blog.langchain.com › langchainhub
LangChainHub
August 18, 2023 - We have seeded the Hub with a collection of artifacts that are used in the core library, but we hope it quickly becomes filled with prompts, chains, and agents that are NOT in the core library. Since we are using GitHub to organize this Hub, adding artifacts can best be done in one of two ways: Create a fork and then open a PR against the repo. Create an issue on the repo with details of the artifact you would like to add. Today, LangChainHub contains all of the prompts available in the main LangChain Python library.
Find elsewhere
🌐
Hugging Face
huggingface.co › LangChainHub-Prompts
LangChainHub-Prompts (LangChain Hub Prompts)
https://github.com/hwchase17/langchain · Activity Feed Request to join this org · Follow · 30 · None defined yet. Runtime error · 3 · 🏢 · None public yet · Viewer • Updated Feb 28, 2023 • 1 • 39 • 5 · Updated Feb 28, 2023 • 10 · Viewer • Updated Feb 1, 2023 • 1 • 20 • 4 ·
🌐
Medium
medium.com › thoughts-on-machine-learning › langchain-hub-10-prompts-you-should-definitely-use-a9afad6276de
LangChain Hub: 3 Prompts You Should Definitely Use | by FS Ndzomga | Thoughts on Machine Learning | Medium
September 19, 2023 - In this article, I will present three prompts from the hub that I find particularly interesting. The Assumption Checker Prompt serves as a valuable tool for dissecting the underlying suppositions in a user’s statements, offering alternative queries aimed at verifying the validity of those claims.