-
Notifications
You must be signed in to change notification settings - Fork 68
docs: tweaks to prompt creation and quickstart #873
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -49,16 +49,14 @@ Click "Start" to run the prompt. | |||
|
||||
## Save your prompt | ||||
|
||||
To save your prompt, click the "Save" button, name your prompt, and decide if you want it to be "private" or "public". | ||||
Private prompts are only visible to your workspace, while public prompts are discoverable to anyone. | ||||
To save your prompt, click the "Save" button and name your prompt. | ||||
|
||||
The model and configuration you select in the Playground settings will be saved with the prompt. When you reopen the prompt, the model and configuration will automatically load from the saved version. | ||||
 | ||||
The model configuration settings you choose will be saved with the prompt. When you reopen the prompt, the model and configuration will automatically load from the saved version. | ||||
|
||||
Prompts default to private and are only visible to your workspace, while public prompts are discoverable to anyone. You can make your prompt public by clicking the "Make public" button at the top of the prompt page. | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
:::tip Public Prompts | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
The first time you create a public prompt, you'll be asked to set a LangChain Hub handle. All your public prompts will be linked to this handle. In a shared workspace, this handle will be set for the whole workspace. | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
::: | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
|
||||
 | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. would simplify and remove public prompts from here |
||||
|
||||
## View your prompts | ||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -44,6 +44,8 @@ If you are interested in testing how your prompt performs over a dataset instead | |||||
|
||||||
One you have run some tests and made your desired changes to your prompt you can click the “Save” button to save your prompt for future use. | ||||||
|
||||||
Prompts default to being private, which means they are only visible to your workspace. You can make your prompt public by clicking the "Make public" button at the top of the prompt page to share it with the LangChain Community via the [LangChain Hub](../how_to_guides/langchain_hub). | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here, remove public prompts. there really isnt a good reason for most ppl to be using |
||||||
|
||||||
 | ||||||
|
||||||
## 5. Iterate on a prompt | ||||||
|
@@ -61,8 +63,7 @@ To improve your prompts: | |||||
|
||||||
 | ||||||
|
||||||
You can also tag specific commits to mark important moments in your commit history: | ||||||
|
||||||
You can also use [Commit Tags](../how_to_guides/prompt_tags) to mark important versions in your commit history and to dynamically pull versions of your prompt in your code. | ||||||
 | ||||||
|
||||||
## 6. Next steps | ||||||
|
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.