langchain/docs/sidebars.js

123 lines
5.1 KiB
JavaScript
Raw Normal View History

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
module.exports = {
// By default, Docusaurus generates a sidebar from the docs folder structure
2023-07-21 20:52:03 +00:00
docs: [
{
type: "category",
label: "Get started",
collapsed: false,
collapsible: false,
items: [{ type: "autogenerated", dirName: "get_started" }],
link: {
type: 'generated-index',
description: 'Get started with LangChain',
2023-07-21 20:52:03 +00:00
slug: "get_started",
},
},
{
type: "category",
2023-10-04 19:34:06 +00:00
label: "LangChain Expression Language",
collapsed: false,
2023-10-04 19:34:06 +00:00
items: [{ type: "autogenerated", dirName: "expression_language" } ],
link: {
type: 'doc',
2023-10-04 19:34:06 +00:00
id: "expression_language/index"
},
},
{
type: "category",
2023-10-04 19:34:06 +00:00
label: "Modules",
collapsed: false,
items: [{ type: "autogenerated", dirName: "modules" } ],
link: {
2023-09-01 15:20:55 +00:00
type: 'doc',
2023-10-04 19:34:06 +00:00
id: "modules/index"
},
},
{
type: "category",
2023-09-01 15:20:55 +00:00
label: "Guides",
collapsed: true,
2023-09-01 15:20:55 +00:00
items: [{ type: "autogenerated", dirName: "guides" }],
link: {
type: 'generated-index',
2023-09-01 15:20:55 +00:00
description: 'Design guides for key parts of the development process',
slug: "guides",
},
},
{
type: "category",
2023-09-28 19:44:52 +00:00
label: "More",
collapsed: true,
items: [
{ type: "autogenerated", dirName: "additional_resources" },
{ type: "link", label: "Gallery", href: "https://github.com/kyrolabs/awesome-langchain" }
],
link: {
type: 'generated-index',
2023-09-01 15:20:55 +00:00
slug: "additional_resources",
},
2023-09-28 19:44:52 +00:00
}
2023-07-21 20:52:03 +00:00
],
integrations: [
{
2023-07-21 20:52:03 +00:00
type: "category",
label: "Providers",
2023-07-21 20:52:03 +00:00
collapsible: false,
items: [
{ type: "autogenerated", dirName: "integrations/platforms" },
{ type: "category", label: "More", collapsed: true, items: [{type:"autogenerated", dirName: "integrations/providers" }]},
],
2023-07-21 20:52:03 +00:00
link: {
type: 'generated-index',
slug: "integrations/providers",
},
},
{
type: "category",
label: "Components",
collapsible: false,
items: [
2023-09-22 08:10:27 +00:00
{ type: "category", label: "LLMs", collapsed: true, items: [{type:"autogenerated", dirName: "integrations/llms" }], link: { type: 'doc', id: "integrations/llms/index"}},
{ type: "category", label: "Chat models", collapsed: true, items: [{type:"autogenerated", dirName: "integrations/chat" }], link: { type: 'doc', id: "integrations/chat/index"}},
{ type: "category", label: "Document loaders", collapsed: true, items: [{type:"autogenerated", dirName: "integrations/document_loaders" }], link: {type: "generated-index", slug: "integrations/document_loaders" }},
{ type: "category", label: "Document transformers", collapsed: true, items: [{type: "autogenerated", dirName: "integrations/document_transformers" }], link: {type: "generated-index", slug: "integrations/document_transformers" }},
{ type: "category", label: "Text embedding models", collapsed: true, items: [{type: "autogenerated", dirName: "integrations/text_embedding" }], link: {type: "generated-index", slug: "integrations/text_embedding" }},
{ type: "category", label: "Vector stores", collapsed: true, items: [{type: "autogenerated", dirName: "integrations/vectorstores" }], link: {type: "generated-index", slug: "integrations/vectorstores" }},
{ type: "category", label: "Retrievers", collapsed: true, items: [{type: "autogenerated", dirName: "integrations/retrievers" }], link: {type: "generated-index", slug: "integrations/retrievers" }},
{ type: "category", label: "Tools", collapsed: true, items: [{type: "autogenerated", dirName: "integrations/tools" }], link: {type: "generated-index", slug: "integrations/tools" }},
{ type: "category", label: "Agents and toolkits", collapsed: true, items: [{type: "autogenerated", dirName: "integrations/toolkits" }], link: {type: "generated-index", slug: "integrations/toolkits" }},
{ type: "category", label: "Memory", collapsed: true, items: [{type: "autogenerated", dirName: "integrations/memory" }], link: {type: "generated-index", slug: "integrations/memory" }},
{ type: "category", label: "Callbacks", collapsed: true, items: [{type: "autogenerated", dirName: "integrations/callbacks" }], link: {type: "generated-index", slug: "integrations/callbacks" }},
{ type: "category", label: "Chat loaders", collapsed: true, items: [{type: "autogenerated", dirName: "integrations/chat_loaders" }], link: {type: "generated-index", slug: "integrations/chat_loaders" }},
],
link: {
type: 'generated-index',
slug: "integrations/components",
2023-07-21 20:52:03 +00:00
},
},
2023-07-21 20:52:03 +00:00
],
use_cases: [
2023-09-15 19:45:53 +00:00
{type: "autogenerated", dirName: "use_cases" }
],
};