langchain/docs/sidebars.js

336 lines
14 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: 'doc',
id: "get_started/introduction"
},
},
{
type: "category",
label: "Use cases",
collapsed: false,
collapsible: false,
items: [
{
type: "category",
label: "Q&A with RAG",
collapsed: true,
items: [
"use_cases/question_answering/quickstart",
"use_cases/question_answering/chat_history",
"use_cases/question_answering/streaming",
"use_cases/question_answering/sources",
"use_cases/question_answering/citations",
{
type: "category",
label: "More",
collapsed: true,
items: [
"use_cases/question_answering/per_user",
"use_cases/question_answering/conversational_retrieval_agents",
"use_cases/question_answering/local_retrieval_qa",
]
},
],
link: { type: "doc", id: "use_cases/question_answering/index" }
},
{
type: "category",
label: "Extracting structured output",
link: { type: "doc", id: "use_cases/extraction/index" },
collapsed: true,
items: [
"use_cases/extraction/quickstart",
"use_cases/extraction/guidelines",
"use_cases/extraction/how_to/examples",
{
type: "category",
label: "More",
collapsed: true,
items: [
"use_cases/extraction/how_to/handle_long_text",
"use_cases/extraction/how_to/handle_files",
"use_cases/extraction/how_to/parse",
]
},
]
},
{ type: "category", label: "Chatbots", collapsed: true, items: [{ type: "autogenerated", dirName: "use_cases/chatbots" }], link: { type: "doc", id: "use_cases/chatbots/index" } },
{ type: "category", label: "Tool use and agents", collapsed: true, items: [{ type: "autogenerated", dirName: "use_cases/tool_use" }], link: { type: "doc", id: "use_cases/tool_use/index" } },
{ type: "category", label: "Query analysis", collapsed: true, items: [{ type: "autogenerated", dirName: "use_cases/query_analysis" }], link: { type: "doc", id: "use_cases/query_analysis/index" } },
{ type: "category", label: "Q&A over SQL + CSV", collapsed: true, items: [{ type: "autogenerated", dirName: "use_cases/sql" }], link: { type: "doc", id: "use_cases/sql/index" } },
{
type: "category",
label: "More",
collapsed: true,
items: [
// "use_cases/apis",
{ type: "category", label: "Graphs", collapsed: true, items: [{ type: "autogenerated", dirName: "use_cases/graph", }], link: { type: "doc", id: "use_cases/graph/index" } },
"use_cases/code_understanding",
"use_cases/data_generation",
"use_cases/tagging",
"use_cases/summarization",
"use_cases/web_scraping"
]
}
],
link: {
type: 'doc',
id: "use_cases/index"
},
},
{
type: "category",
label: "Expression Language",
2023-11-09 19:57:09 +00:00
collapsed: false,
collapsible: false,
2023-11-09 19:57:09 +00:00
items: [
"expression_language/get_started",
"expression_language/interface",
{ type: "category", label: "Primitives", collapsed: true, items: [{ type: "autogenerated", dirName: "expression_language/primitives", }], link: { type: "doc", id: "expression_language/primitives/index" } },
"expression_language/why",
"expression_language/streaming",
"expression_language/how_to/message_history",
2023-11-09 19:57:09 +00:00
{
type: "category",
label: "More",
collapsed: true,
items: [
"expression_language/how_to/routing",
"expression_language/how_to/inspect",
"expression_language/how_to/decorator",
"expression_language/cookbook/prompt_size",
"expression_language/cookbook/multiple_chains",
2023-11-09 19:57:09 +00:00
]
},
2023-11-09 19:57:09 +00:00
],
link: {
2023-09-01 15:20:55 +00:00
type: 'doc',
id: "expression_language/index"
},
},
{
type: "category",
label: "Ecosystem",
collapsed: false,
collapsible: false,
items: [
{
type: "category",
label: "🦜🛠️ LangSmith",
collapsed: true,
items: [{ type: "autogenerated", dirName: "langsmith" } ],
link: {
type: 'doc',
id: "langsmith/index"
},
},
"langgraph",
"langserve",
]
},
"security"
],
components: [
{
type: "category",
label: "Model I/O",
collapsed: false,
collapsible: false,
link: { type: "doc", id: "modules/model_io/index" },
items: [
{
type: "category",
label: "Prompts",
items: [{ type: "autogenerated", dirName: "modules/model_io/prompts" }],
link: { type: "doc", id: "modules/model_io/prompts/index" }
},
{
type: "category",
label: "Chat models",
items: [{ type: "autogenerated", dirName: "modules/model_io/chat" }],
link: { type: "doc", id: "modules/model_io/chat/index" }
},
{
type: "category",
label: "LLMs",
items: [{ type: "autogenerated", dirName: "modules/model_io/llms" }],
link: { type: "doc", id: "modules/model_io/llms/index" }
},
{
type: "category",
label: "Output parsers",
items: [{ type: "autogenerated", dirName: "modules/model_io/output_parsers" }],
link: { type: "doc", id: "modules/model_io/output_parsers/index" }
},
],
},
{
type: "category",
label: "Retrieval",
collapsed: false,
collapsible: false,
link: { type: "doc", id: "modules/data_connection/index" },
items: [
{
type: "category",
label: "Document loaders",
items: [{ type: "autogenerated", dirName: "modules/data_connection/document_loaders" }],
link: { type: "doc", id: "modules/data_connection/document_loaders/index" }
},
{
type: "category",
label: "Text splitters",
items: [{ type: "autogenerated", dirName: "modules/data_connection/document_transformers" }],
link: { type: "doc", id: "modules/data_connection/document_transformers/index" }
},
{
type: "category",
label: "Embedding models",
items: [{ type: "autogenerated", dirName: "modules/data_connection/text_embedding" }],
link: { type: "doc", id: "modules/data_connection/text_embedding/index" }
},
"modules/data_connection/vectorstores/index",
{
type: "category",
label: "Retrievers",
items: [{ type: "autogenerated", dirName: "modules/data_connection/retrievers" }],
link: { type: "doc", id: "modules/data_connection/retrievers/index" }
},
"modules/data_connection/indexing"
],
},
{
type: "category",
label: "Composition",
collapsed: false,
collapsible: false,
items: [
{ type: "category", label: "Tools", collapsed: true, items: [{ type: "autogenerated", dirName: "modules/tools" }], link: { type: 'doc', id: "modules/tools/index" }},
{ type: "category", label: "Agents", collapsed: true, items: [{ type: "autogenerated", dirName: "modules/agents" }], link: { type: 'doc', id: "modules/agents/index" }},
"modules/chains"
],
link: { type: "doc", id: "modules/composition" }
},
{
type: "category",
label: "More",
collapsed: true,
items: [
{ type: "category", label: "Memory", collapsed: true, items: [
"modules/memory/chat_messages/index",
{type: "category", label: "Memory classes [BETA]", collapsed: true, items: [
"modules/memory/adding_memory",
"modules/memory/adding_memory_chain_multiple_inputs",
"modules/memory/agent_with_memory",
"modules/memory/agent_with_memory_in_db",
"modules/memory/conversational_customization",
"modules/memory/custom_memory",
"modules/memory/multiple_memory",
{ type: "category", label: "Types", collapsed: true, items: [{ type: "autogenerated", dirName: "modules/memory/types" }]}
]}
], link: { type: 'doc', id: "modules/memory/index" }},
{ type: "category", label: "Callbacks", collapsed: true, items: [{type:"autogenerated", dirName: "modules/callbacks" }], link: { type: 'doc', id: "modules/callbacks/index" }},
]
},
{ type: "doc", id: "modules/index", className: "hidden" },
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" },
2024-02-02 23:12:21 +00:00
{ type: "category", label: "More", collapsed: true, items: [{type:"autogenerated", dirName: "integrations/providers" }], link: { type: 'generated-index', slug: "integrations/providers", }},
],
2023-07-21 20:52:03 +00:00
link: {
2024-02-02 23:12:21 +00:00
type: 'doc',
id: 'integrations/platforms/index'
},
},
{
type: "category",
label: "Components",
collapsible: false,
items: [
2023-09-22 08:10:27 +00:00
{ type: "category", label: "Chat models", collapsed: true, items: [{type:"autogenerated", dirName: "integrations/chat" }], link: { type: 'doc', id: "integrations/chat/index"}},
{ type: "category", label: "LLMs", collapsed: true, items: [{type:"autogenerated", dirName: "integrations/llms" }], link: { type: 'doc', id: "integrations/llms/index"}},
{ type: "category", label: "Embedding models", collapsed: true, items: [{type: "autogenerated", dirName: "integrations/text_embedding" }], link: {type: "generated-index", slug: "integrations/text_embedding" }},
{ 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: "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: "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" }},
{ type: "category", label: "Adapters", collapsed: true, items: [{type: "autogenerated", dirName: "integrations/adapters" }], link: {type: "generated-index", slug: "integrations/adapters" }},
{ type: "category", label: "Stores", collapsed: true, items: [{type: "autogenerated", dirName: "integrations/stores" }], link: {type: "doc", id: "integrations/stores/index" }},
],
link: {
type: 'generated-index',
2023-12-29 17:02:31 +00:00
slug: "integrations/components",
2023-07-21 20:52:03 +00:00
},
},
2023-07-21 20:52:03 +00:00
],
guides: [
{
type: "category", label: "Development", collapsible: false, items: [{type: "autogenerated", dirName: "guides/development" }],
link: { type: "doc", id: "guides/development/index"},
},
2023-12-29 17:02:31 +00:00
{
type: "category",
label: "Productionization",
collapsible: false,
items: [{type: "autogenerated", dirName: "guides/productionization" }],
link: {
type: "doc",
id: "guides/productionization/index",
}
2023-12-29 17:02:31 +00:00
},
{ type: "doc", id: "guides/index", className: "hidden" },
],
2023-11-10 07:36:21 +00:00
templates: [
{
type: "category",
label: "Templates",
items: [
{ type: "autogenerated", dirName: "templates" },
],
link: { type: 'doc', id: "templates/index" }
},
],
contributing: [
{ type: "category", label: "Contributing", items: [{type: "autogenerated", dirName: "contributing" }] }
],
};