2023-06-16 18:52:56 +00:00
/ * *
* 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 : [
2023-06-16 18:52:56 +00:00
{
type : "category" ,
label : "Get started" ,
collapsed : false ,
collapsible : false ,
2023-11-06 15:07:25 +00:00
items : [ { type : "autogenerated" , dirName : "get_started" } , "security" ] ,
2023-06-16 18:52:56 +00:00
link : {
type : 'generated-index' ,
description : 'Get started with LangChain' ,
2023-07-21 20:52:03 +00:00
slug : "get_started" ,
2023-06-16 18:52:56 +00:00
} ,
} ,
{
type : "category" ,
2023-10-04 19:34:06 +00:00
label : "LangChain Expression Language" ,
2023-06-16 18:52:56 +00:00
collapsed : false ,
2023-10-04 19:34:06 +00:00
items : [ { type : "autogenerated" , dirName : "expression_language" } ] ,
2023-06-16 18:52:56 +00:00
link : {
type : 'doc' ,
2023-10-04 19:34:06 +00:00
id : "expression_language/index"
2023-06-16 18:52:56 +00:00
} ,
} ,
{
type : "category" ,
2023-10-04 19:34:06 +00:00
label : "Modules" ,
2023-11-09 19:57:09 +00:00
collapsed : false ,
items : [
2023-11-10 00:31:45 +00:00
{ type : "category" , label : "Model I/O" , collapsed : true , items : [ { type : "autogenerated" , dirName : "modules/model_io" } ] , link : { type : 'doc' , id : "modules/model_io/index" } } ,
{ type : "category" , label : "Retrieval" , collapsed : true , items : [ { type : "autogenerated" , dirName : "modules/data_connection" } ] , link : { type : 'doc' , id : "modules/data_connection/index" } } ,
{ type : "category" , label : "Agents" , collapsed : true , items : [ { type : "autogenerated" , dirName : "modules/agents" } ] , link : { type : 'doc' , id : "modules/agents/index" } } ,
2024-01-05 17:15:00 +00:00
"modules/chains" ,
2023-11-09 19:57:09 +00:00
{
type : "category" ,
label : "More" ,
collapsed : true ,
items : [
2023-11-10 00:31:45 +00:00
{ type : "category" , label : "Memory" , collapsed : true , items : [ { type : "autogenerated" , dirName : "modules/memory" } ] , 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" } } ,
2023-11-09 19:57:09 +00:00
]
}
] ,
2023-06-16 18:52:56 +00:00
link : {
2023-09-01 15:20:55 +00:00
type : 'doc' ,
2023-10-04 19:34:06 +00:00
id : "modules/index"
2023-06-16 18:52:56 +00:00
} ,
} ,
2023-11-06 15:07:25 +00:00
{ type : "doc" , id : "langserve" , label : "LangServe" } ,
2023-06-16 18:52:56 +00:00
{
type : "category" ,
2023-11-06 15:07:25 +00:00
label : "LangSmith" ,
2023-06-16 18:52:56 +00:00
collapsed : true ,
2023-11-06 15:07:25 +00:00
items : [ { type : "autogenerated" , dirName : "langsmith" } ] ,
2023-06-16 18:52:56 +00:00
link : {
2023-11-06 15:07:25 +00:00
type : 'doc' ,
id : "langsmith/index"
2023-06-16 18:52:56 +00:00
} ,
2023-11-06 15:07:25 +00:00
} ,
2024-01-08 16:38:14 +00:00
{ type : "doc" , id : "langgraph" , label : "LangGraph" } ,
2023-07-21 20:52:03 +00:00
] ,
integrations : [
2023-06-16 18:52:56 +00:00
{
2023-07-21 20:52:03 +00:00
type : "category" ,
2023-09-15 19:18:57 +00:00
label : "Providers" ,
2023-07-21 20:52:03 +00:00
collapsible : false ,
2023-09-15 19:18:57 +00:00
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-09-15 19:18:57 +00:00
] ,
2023-07-21 20:52:03 +00:00
link : {
2024-02-02 23:12:21 +00:00
type : 'doc' ,
id : 'integrations/platforms/index'
2023-09-15 19:18:57 +00:00
} ,
} ,
{
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" } } ,
2023-09-15 19:18:57 +00:00
{ 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" } } ,
2023-11-27 21:05:43 +00:00
{ type : "category" , label : "Adapters" , collapsed : true , items : [ { type : "autogenerated" , dirName : "integrations/adapters" } ] , link : { type : "generated-index" , slug : "integrations/adapters" } } ,
2023-12-06 18:05:43 +00:00
{ type : "category" , label : "Stores" , collapsed : true , items : [ { type : "autogenerated" , dirName : "integrations/stores" } ] , link : { type : "doc" , id : "integrations/stores/index" } } ,
2023-09-15 19:18:57 +00:00
] ,
link : {
type : 'generated-index' ,
2023-12-29 17:02:31 +00:00
slug : "integrations/components" ,
2023-07-21 20:52:03 +00:00
} ,
2023-06-16 18:52:56 +00:00
} ,
2023-07-21 20:52:03 +00:00
] ,
use _cases : [
2023-12-29 17:02:31 +00:00
{
type : "category" ,
label : "Use cases" ,
items : [
{ type : "autogenerated" , dirName : "use_cases" } ,
] ,
link : { type : 'generated-index' , slug : "use_cases" }
} ,
2023-06-16 18:52:56 +00:00
] ,
2023-11-06 15:07:25 +00:00
guides : [
{ type : "autogenerated" , dirName : "guides" }
] ,
2023-11-10 07:36:21 +00:00
templates : [
{
type : "category" ,
label : "Templates" ,
items : [
{ type : "autogenerated" , dirName : "templates" } ,
] ,
link : { type : 'doc' , id : "templates/index" }
} ,
] ,
docs: add changelog (#15606)
<!-- Thank you for contributing to LangChain!
Please title your PR "<package>: <description>", where <package> is
whichever of langchain, community, core, experimental, etc. is being
modified.
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes if applicable,
- **Dependencies:** any dependencies required for this change,
- **Twitter handle:** we announce bigger features on Twitter. If your PR
gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before
submitting. Run `make format`, `make lint` and `make test` from the root
of the package you've modified to check this locally.
See contribution guidelines for more information on how to write/run
tests, lint, etc: https://python.langchain.com/docs/contributing/
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on
network access,
2. an example notebook showing its use. It lives in
`docs/docs/integrations` directory.
If no one reviews your PR within a few days, please @-mention one of
@baskaryan, @eyurtsev, @hwchase17.
-->
---------
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2024-01-07 16:34:34 +00:00
changelog : [
{
type : "category" ,
label : "Changelog" ,
items : [ { type : "autogenerated" , dirName : "changelog" } ] ,
link : { type : 'generated-index' , slug : "changelog" }
} ,
] ,
2023-12-17 20:55:49 +00:00
contributing : [
{ type : "autogenerated" , dirName : "contributing" }
] ,
2023-06-16 18:52:56 +00:00
} ;