-
Notifications
You must be signed in to change notification settings - Fork 28
Prompt management guide #603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Preview ID generated: preview-prompt-1758310543-4cc02cc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for porting over, left a few comments on nits/typos
<Note> | ||
Previously this functionality lived in the `langchainhub` package which is now deprecated. All functionality going forward will live in the `langsmith` package. | ||
</Note> | ||
<Warning>We do not reccomend pulling prompts from the Prompt Hub in your production code on every request. Please see our guide on [best practices for using the prompt hub](/langsmith/prompt-management-best-practices) for more information.</Warning> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Warning>We do not reccomend pulling prompts from the Prompt Hub in your production code on every request. Please see our guide on [best practices for using the prompt hub](/langsmith/prompt-management-best-practices) for more information.</Warning> | |
<Warning>We do not recommend pulling prompts from the Prompt Hub in your production code on every request. For more information, refer to [best practices for using the prompt hub](/langsmith/prompt-management-best-practices).</Warning> |
|
||
Prompts are a fundamental component of your LLM application's logic. A minor change can significantly change an LLM's response or tool selection, making lifecycle management important. LangSmith provides tools to manage prompts across development, testing, and production environments: | ||
|
||
- **Prompt Hub**: A central store for managing prompts. This is a especially useful source of truth for your prompts when you are collaborating with a team to iterate on them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- **Prompt Hub**: A central store for managing prompts. This is a especially useful source of truth for your prompts when you are collaborating with a team to iterate on them. | |
- **Prompt Hub**: A central store for managing prompts. This is an especially useful source of truth for your prompts when you are collaborating with a team to iterate on them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or, maybe:
A centralized store that makes it easy to version, track, and update prompts, especially when collaborating with others.
Preview ID generated: preview-prompt-1758318171-10850d1 |
Co-authored-by: Kathryn May <[email protected]>
Preview ID generated: preview-prompt-1758318323-8bd2b6d |
Preview ID generated: preview-prompt-1758318561-b510747 |
Overview
Best practices for using the prompt hub
Porting over @PeriniM's PR from the old docs that never got merged langchain-ai/langsmith-docs#894 with some edits
Preview URL: https://langchain-5e9cc07a-preview-prompt-1758318561-b510747.mintlify.app/langsmith/prompt-management-best-practices