Skip to content

Commit

Permalink
Fix missing API reference tab
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Jul 19, 2023
1 parent 73c7bbd commit 57fe218
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
19 changes: 14 additions & 5 deletions docs/docs_skeleton/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
link: {
type: 'generated-index',
description: 'Get started with LangChain',
slug: "get_started",
slug: "get_started",
},
},
{
Expand All @@ -52,7 +52,7 @@
link: {
type: 'generated-index',
description: 'Walkthroughs of common end-to-end use cases',
slug: "use_cases",
slug: "use_cases",
},
},
{
Expand All @@ -63,7 +63,7 @@
link: {
type: 'generated-index',
description: 'Design guides for key parts of the development process',
slug: "guides",
slug: "guides",
},
},
{
Expand All @@ -73,7 +73,7 @@
items: [{ type: "autogenerated", dirName: "ecosystem" }, { type: "link", label: "LangSmith", href: "https://docs.smith.langchain.com" }],
link: {
type: 'generated-index',
slug: "ecosystem",
slug: "ecosystem",
},
},
{
Expand All @@ -83,13 +83,22 @@
items: [{ type: "autogenerated", dirName: "additional_resources" }, { type: "link", label: "Gallery", href: "https://github.com/kyrolabs/awesome-langchain" }],
link: {
type: 'generated-index',
slug: "additional_resources",
slug: "additional_resources",
},
},
{
type: "html",
value: "<hr>",
defaultStyle: true,
},
{
type: "category",
label: "API reference",
link: {
type: "doc",
id: "api/index",
},
items: [{ type: "autogenerated", dirName: "api" }],
},
],
};
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
hide_table_of_contents: true
sidebar_label: Prompt Selectors
sidebar_label: Prompt selectors
---

# Prompt Selectors
# Prompt selectors

Prompt Selectors are useful when you want to programmatically select a prompt based on the type of model you are using in a chain. This is especially relevant when swapping chat models and LLMs.
Prompt selectors are useful when you want to programmatically select a prompt based on the type of model you are using in a chain. This is especially relevant when swapping chat models and LLMs.

The interface for prompt selectors is quite simple:

Expand Down

0 comments on commit 57fe218

Please sign in to comment.