From 7bb437146d353d3374b0f928e7f053e0353cf14d Mon Sep 17 00:00:00 2001 From: Masafumi Mori <71799690+masafumimori@users.noreply.github.com> Date: Sun, 18 Jun 2023 01:07:14 +0900 Subject: [PATCH] fix links to prompt templates and example selectors (#6332) Fixes # links to prompt templates and example selectors on the [Prompts](https://python.langchain.com/docs/modules/model_io/prompts/) page are invalid. #### Before submitting Just a small note that I tried to run `make docs_clean` and other related commands before PR written [here](https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md#build-documentation-locally), it gives me an error: ```bash langchain % make docs_clean Traceback (most recent call last): File "/Users/masafumi/Downloads/langchain/.venv/bin/make", line 5, in from scripts.proto import main ModuleNotFoundError: No module named 'scripts' make: *** [docs_clean] Error 1 # Poetry (version 1.5.1) # Python 3.9.13 ``` I couldn't figure out how to fix this, so I didn't run those command. But links should work. #### Who can review? Tag maintainers/contributors who might be interested: @hwchase17 Similar issue #6323 Co-authored-by: masafumimori --- docs/docs_skeleton/docs/modules/model_io/prompts/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs_skeleton/docs/modules/model_io/prompts/index.mdx b/docs/docs_skeleton/docs/modules/model_io/prompts/index.mdx index 5d7b79d3..c1bdf8ab 100644 --- a/docs/docs_skeleton/docs/modules/model_io/prompts/index.mdx +++ b/docs/docs_skeleton/docs/modules/model_io/prompts/index.mdx @@ -8,5 +8,5 @@ A **prompt** refers to the input to the model. This input is often constructed from multiple components. LangChain provides several classes and functions to make constructing and working with prompts easy. -- [Prompt templates](/docs/modules/prompts/prompt_templates/): Parametrize model inputs -- [Example selectors](/docs/modules/prompts/example_selectors/): Dynamically select examples to include in prompts \ No newline at end of file +- [Prompt templates](/docs/modules/model_io/prompts/prompt_templates/): Parametrize model inputs +- [Example selectors](/docs/modules/model_io/prompts/example_selectors/): Dynamically select examples to include in prompts \ No newline at end of file