diff --git a/docs/prompt_engineering/how_to_guides/create_a_prompt.mdx b/docs/prompt_engineering/how_to_guides/create_a_prompt.mdx index 46449eedc..8215459e0 100644 --- a/docs/prompt_engineering/how_to_guides/create_a_prompt.mdx +++ b/docs/prompt_engineering/how_to_guides/create_a_prompt.mdx @@ -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. -![](./static/create_a_prompt/save_prompt.png) +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. :::tip Public Prompts 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. ::: - ![](./static/create_a_prompt/public_handle.png) ## View your prompts diff --git a/docs/prompt_engineering/how_to_guides/langchain_hub.mdx b/docs/prompt_engineering/how_to_guides/langchain_hub.mdx index 5585e5d1c..b90ccc268 100644 --- a/docs/prompt_engineering/how_to_guides/langchain_hub.mdx +++ b/docs/prompt_engineering/how_to_guides/langchain_hub.mdx @@ -4,14 +4,11 @@ sidebar_position: 6 # LangChain Hub -Navigate to the **LangChain Hub** section of the left-hand sidebar. +Navigate to the **Prompts** section of the left-hand sidebar and click on the **LangChain Hub** link at the bottom of the page. -![](./static/langchain_hub.png) +![](./static/langchain_hub/langchain_hub.png) -Here you'll find all of the publicly listed prompts in the LangChain Hub. -You can search for prompts by name, handle, use cases, descriptions, or models. You can fork prompts to your personal organization, view the prompt's details, and run the prompt in the playground. -You can [pull any public prompt into your code](./manage_prompts_programatically.mdx) using the SDK. - -To view prompts tied to your workspace, visit the Prompts tab in the sidebar. +Here you'll find all of the publicly listed prompts in the LangChain Hub. Any prompt you mark as **public** will be listed here. -![](./static/prompts_tab.png) +You can search for prompts by name, handle, prompt tags, descriptions, or models. You can fork prompts to your personal organization, view the prompt's details, and run the prompt in the playground. +You can [pull any public prompt into your code](./manage_prompts_programatically.mdx) using the SDK. diff --git a/docs/prompt_engineering/how_to_guides/static/create_a_prompt/save_prompt.png b/docs/prompt_engineering/how_to_guides/static/create_a_prompt/save_prompt.png deleted file mode 100644 index 4e085feb7..000000000 Binary files a/docs/prompt_engineering/how_to_guides/static/create_a_prompt/save_prompt.png and /dev/null differ diff --git a/docs/prompt_engineering/how_to_guides/static/langchain_hub/langchain_hub.png b/docs/prompt_engineering/how_to_guides/static/langchain_hub/langchain_hub.png new file mode 100644 index 000000000..d1b4cf2f2 Binary files /dev/null and b/docs/prompt_engineering/how_to_guides/static/langchain_hub/langchain_hub.png differ diff --git a/docs/prompt_engineering/quickstarts/quickstart_ui.mdx b/docs/prompt_engineering/quickstarts/quickstart_ui.mdx index 9cdc9d0b6..254138152 100644 --- a/docs/prompt_engineering/quickstarts/quickstart_ui.mdx +++ b/docs/prompt_engineering/quickstarts/quickstart_ui.mdx @@ -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). + ![](./static/save_prompt_ui.gif) ## 5. Iterate on a prompt @@ -61,8 +63,7 @@ To improve your prompts: ![](./static/save_prompt_commit_ui.gif) -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. ![](./static/tag_prompt_ui.gif) ## 6. Next steps