diff --git a/docs/core_docs/docs/modules/model_io/concepts.mdx b/docs/core_docs/docs/modules/model_io/concepts.mdx index a75af7ef0bfc..698b9e5ef83d 100644 --- a/docs/core_docs/docs/modules/model_io/concepts.mdx +++ b/docs/core_docs/docs/modules/model_io/concepts.mdx @@ -106,4 +106,4 @@ There are a few parsers dedicated to working with OpenAI function calling. They ### Agent Output Parsers -[Agents](../agents) are systems that use language models to determine what steps to take. The output of a language model therefore needs to be parsed into some schema that can represent what actions (if any) are to be taken. AgentOutputParsers are responsible for taking raw LLM or ChatModel output and converting it to that schema. The logic inside these output parsers can differ depending on the model and prompting strategy being used. +[Agents](/docs/modules/agents/) are systems that use language models to determine what steps to take. The output of a language model therefore needs to be parsed into some schema that can represent what actions (if any) are to be taken. AgentOutputParsers are responsible for taking raw LLM or ChatModel output and converting it to that schema. The logic inside these output parsers can differ depending on the model and prompting strategy being used. diff --git a/docs/core_docs/docs/use_cases/api.mdx b/docs/core_docs/docs/use_cases/api.mdx index e3bbb6fc7202..3b3cc62a1480 100644 --- a/docs/core_docs/docs/use_cases/api.mdx +++ b/docs/core_docs/docs/use_cases/api.mdx @@ -14,7 +14,7 @@ If you are just getting started and you have relatively simple APIs, you should Chains are a sequence of predetermined steps, so they are good to get started with as they give you more control and let you understand what is happening better. -- [OpenAPI Chain](../modules/chains/additional/openai_functions/openapi) +- [OpenAPI Chain](/docs/modules/chains/additional/openai_functions/openapi) ## Agents diff --git a/docs/core_docs/docs/use_cases/tabular.mdx b/docs/core_docs/docs/use_cases/tabular.mdx index fd58093125c5..8bb3b4ac9946 100644 --- a/docs/core_docs/docs/use_cases/tabular.mdx +++ b/docs/core_docs/docs/use_cases/tabular.mdx @@ -14,7 +14,7 @@ If you are just getting started, and you have relatively small/simple tabular da Chains are a sequence of predetermined steps, so they are good to get started with as they give you more control and let you understand what is happening better. -- [SQL Database Chain](../modules/chains/popular/sqlite) +- [SQL Database Chain](/docs/modules/chains/popular/sqlite) ## Agents diff --git a/docs/core_docs/docusaurus.config.js b/docs/core_docs/docusaurus.config.js index 80ef40d2767a..8e5d48adaa77 100644 --- a/docs/core_docs/docusaurus.config.js +++ b/docs/core_docs/docusaurus.config.js @@ -13,6 +13,8 @@ const mdxComponentsPath = path.resolve(__dirname, "docs", "mdx_components"); const baseLightCodeBlockTheme = require("prism-react-renderer/themes/vsLight"); const baseDarkCodeBlockTheme = require("prism-react-renderer/themes/vsDark"); +const baseUrl = "/v0.1/"; + /** @type {import('@docusaurus/types').Config} */ const config = { title: "🦜️🔗 Langchain", @@ -22,7 +24,8 @@ const config = { url: "https://js.langchain.com", // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' - baseUrl: "/", + baseUrl: baseUrl, + trailingSlash: true, onBrokenLinks: "throw", onBrokenMarkdownLinks: "throw", @@ -130,6 +133,12 @@ const config = { themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ + // TODO(brace) -- Uncomment once 0.2 is merged to main & site is live! + // announcementBar: { + // content: + // 'LangChain v0.2 is coming soon! Preview the new docs here.', + // isCloseable: true, + // }, prism: { theme: { ...baseLightCodeBlockTheme, @@ -299,7 +308,7 @@ const config = { }), scripts: [ - "/js/google_analytics.js", + baseUrl + "js/google_analytics.js", { src: "https://www.googletagmanager.com/gtag/js?id=G-TVSL7JBE9Y", async: true, diff --git a/docs/core_docs/package.json b/docs/core_docs/package.json index 21fdf21005c7..10d1e62392d0 100644 --- a/docs/core_docs/package.json +++ b/docs/core_docs/package.json @@ -6,7 +6,7 @@ "docusaurus": "docusaurus", "start": "yarn build:typedoc && yarn quarto && rimraf ./docs/api && NODE_OPTIONS=--max-old-space-size=7168 docusaurus start", "build": "yarn clean && yarn build:typedoc && yarn quarto && rimraf ./build && NODE_OPTIONS=--max-old-space-size=7168 DOCUSAURUS_SSR_CONCURRENCY=4 docusaurus build", - "build:vercel": "yarn clean && yarn build:typedoc:vercel && bash ./scripts/vercel_build.sh && yarn quarto:vercel && rimraf ./build && NODE_OPTIONS=--max-old-space-size=7168 DOCUSAURUS_SSR_CONCURRENCY=4 docusaurus build", + "build:vercel": "yarn clean && yarn build:typedoc:vercel && bash ./scripts/vercel_build.sh && yarn quarto:vercel && rimraf ./build && NODE_OPTIONS=--max-old-space-size=7168 DOCUSAURUS_SSR_CONCURRENCY=4 docusaurus build && mv build v0.1 && mkdir build && mv v0.1 build && mv build/v0.1/404.html build", "build:typedoc": "yarn workspace api_refs build", "build:typedoc:vercel": "yarn workspace api_refs build:vercel", "swizzle": "docusaurus swizzle", diff --git a/docs/core_docs/vercel.json b/docs/core_docs/vercel.json index 81784bfc7a30..bf652f8c97a8 100644 --- a/docs/core_docs/vercel.json +++ b/docs/core_docs/vercel.json @@ -1,524 +1,541 @@ { + "buildCommand": "yarn build:vercel", + "outputDirectory": "build", + "trailingSlash": true, + "rewrites": [ + { + "source": "/v0.2/:path(.*/?)*", + "destination": "https://langchainjs-v02.vercel.app/v0.2/:path*" + } + ], "redirects": [ { - "source": "/docs(/?)", - "destination": "/docs/get_started/introduction/" + "source": "/docs/:path*(/?)", + "destination": "/v0.1/docs/:path*/" + }, + { + "source": "(/?)", + "destination": "/v0.1/docs/get_started/introduction/" + }, + { + "source": "/v0.1(/?)", + "destination": "/v0.1/docs/get_started/introduction/" }, { - "source": "/docs/getting-started/install(/?)", - "destination": "/docs/get_started/installation/" + "source": "/v0.1/docs/getting-started/install(/?)", + "destination": "/v0.1/docs/get_started/installation/" }, { - "source": "/docs/getting-started/guide-llm(/?)", - "destination": "/docs/get_started/quickstart/" + "source": "/v0.1/docs/getting-started/guide-llm(/?)", + "destination": "/v0.1/docs/get_started/quickstart/" }, { - "source": "/docs/getting-started/guide-chat(/?)", - "destination": "/docs/get_started/quickstart/" + "source": "/v0.1/docs/getting-started/guide-chat(/?)", + "destination": "/v0.1/docs/get_started/quickstart/" }, { - "source": "/docs/modules/schema/:path*(/?)", - "destination": "/docs/get_started/quickstart/" + "source": "/v0.1/docs/modules/schema/:path*(/?)", + "destination": "/v0.1/docs/get_started/quickstart/" }, { - "source": "/docs/modules/models(/?)", - "destination": "/docs/modules/model_io/" + "source": "/v0.1/docs/modules/models(/?)", + "destination": "/v0.1/docs/modules/model_io/" }, { - "source": "/docs/modules/model_io/models/chat/(.*)", - "destination": "/docs/modules/model_io/chat/" + "source": "/v0.1/docs/modules/model_io/models/chat/(.*)", + "destination": "/v0.1/docs/modules/model_io/chat/" }, { - "source": "/docs/modules/model_io/models/chat(/?)", - "destination": "/docs/modules/model_io/chat/" + "source": "/v0.1/docs/modules/model_io/models/chat(/?)", + "destination": "/v0.1/docs/modules/model_io/chat/" }, { - "source": "/docs/modules/models/chat(/?)", - "destination": "/docs/modules/model_io/chat/" + "source": "/v0.1/docs/modules/models/chat(/?)", + "destination": "/v0.1/docs/modules/model_io/chat/" }, { - "source": "/docs/modules/models/chat/integrations(/?)", - "destination": "/docs/integrations/chat/" + "source": "/v0.1/docs/modules/models/chat/integrations(/?)", + "destination": "/v0.1/docs/integrations/chat/" }, { - "source": "/docs/modules/models/chat/additional_functionality(/?)", - "destination": "/docs/modules/model_io/chat/" + "source": "/v0.1/docs/modules/models/chat/additional_functionality(/?)", + "destination": "/v0.1/docs/modules/model_io/chat/" }, { - "source": "/docs/modules/models/embeddings(/?)", - "destination": "/docs/modules/data_connection/text_embedding/" + "source": "/v0.1/docs/modules/models/embeddings(/?)", + "destination": "/v0.1/docs/modules/data_connection/text_embedding/" }, { - "source": "/docs/modules/models/embeddings/integrations(/?)", - "destination": "/docs/integrations/text_embedding/" + "source": "/v0.1/docs/modules/models/embeddings/integrations(/?)", + "destination": "/v0.1/docs/integrations/text_embedding/" }, { - "source": "/docs/modules/models/embeddings/additional_functionality(/?)", - "destination": "/docs/modules/data_connection/text_embedding/" + "source": "/v0.1/docs/modules/models/embeddings/additional_functionality(/?)", + "destination": "/v0.1/docs/modules/data_connection/text_embedding/" }, { - "source": "/docs/modules/data_connection/text_embedding/how_to/:path*(/?)", - "destination": "/docs/modules/data_connection/text_embedding/:path/" + "source": "/v0.1/docs/modules/data_connection/text_embedding/how_to/:path*(/?)", + "destination": "/v0.1/docs/modules/data_connection/text_embedding/:path/" }, { - "source": "/docs/modules/models/llms(/?)", - "destination": "/docs/modules/model_io/llms/" + "source": "/v0.1/docs/modules/models/llms(/?)", + "destination": "/v0.1/docs/modules/model_io/llms/" }, { - "source": "/docs/modules/model_io/models/llms/(.*)", - "destination": "/docs/modules/model_io/llms/" + "source": "/v0.1/docs/modules/model_io/models/llms/(.*)", + "destination": "/v0.1/docs/modules/model_io/llms/" }, { - "source": "/docs/modules/model_io/models/llms(/?)", - "destination": "/docs/modules/model_io/llms/" + "source": "/v0.1/docs/modules/model_io/models/llms(/?)", + "destination": "/v0.1/docs/modules/model_io/llms/" }, { - "source": "/docs/modules/models/llms/integrations(/?)", - "destination": "/docs/integrations/llms/" + "source": "/v0.1/docs/modules/models/llms/integrations(/?)", + "destination": "/v0.1/docs/integrations/llms/" }, { - "source": "/docs/modules/models/llms/additional_functionality(/?)", - "destination": "/docs/modules/model_io/llms/" + "source": "/v0.1/docs/modules/models/llms/additional_functionality(/?)", + "destination": "/v0.1/docs/modules/model_io/llms/" }, { - "source": "/docs/modules/prompts(/?)", - "destination": "/docs/modules/model_io/prompts/" + "source": "/v0.1/docs/modules/prompts(/?)", + "destination": "/v0.1/docs/modules/model_io/prompts/" }, { - "source": "/docs/modules/prompts/prompt_templates(/?)", - "destination": "/docs/modules/model_io/prompts/prompt_templates/" + "source": "/v0.1/docs/modules/prompts/prompt_templates(/?)", + "destination": "/v0.1/docs/modules/model_io/prompts/prompt_templates/" }, { - "source": "/docs/modules/prompts/prompt_templates/prompt_composition(/?)", - "destination": "/docs/modules/model_io/prompts/prompt_templates/prompt_composition/" + "source": "/v0.1/docs/modules/prompts/prompt_templates/prompt_composition(/?)", + "destination": "/v0.1/docs/modules/model_io/prompts/prompt_templates/prompt_composition/" }, { - "source": "/docs/modules/prompts/prompt_templates/additional_functionality(/?)", - "destination": "/docs/modules/model_io/prompts/prompt_templates/" + "source": "/v0.1/docs/modules/prompts/prompt_templates/additional_functionality(/?)", + "destination": "/v0.1/docs/modules/model_io/prompts/prompt_templates/" }, { - "source": "/docs/modules/prompts/output_parsers(/?)", - "destination": "/docs/modules/model_io/output_parsers/" + "source": "/v0.1/docs/modules/prompts/output_parsers(/?)", + "destination": "/v0.1/docs/modules/model_io/output_parsers/" }, { - "source": "/docs/modules/prompts/example_selectors(/?)", - "destination": "/docs/modules/model_io/prompts/example_selector_types/" + "source": "/v0.1/docs/modules/prompts/example_selectors(/?)", + "destination": "/v0.1/docs/modules/model_io/prompts/example_selector_types/" }, { - "source": "/docs/modules/model_io/prompts/example_selector(/?)", - "destination": "/docs/modules/model_io/prompts/example_selector_types/" + "source": "/v0.1/docs/modules/model_io/prompts/example_selector(/?)", + "destination": "/v0.1/docs/modules/model_io/prompts/example_selector_types/" }, { - "source": "/docs/modules/indexes(/?)", - "destination": "/docs/modules/data_connection/" + "source": "/v0.1/docs/modules/indexes(/?)", + "destination": "/v0.1/docs/modules/data_connection/" }, { - "source": "/docs/modules/indexes/document_loaders(/?)", - "destination": "/docs/modules/data_connection/document_loaders/" + "source": "/v0.1/docs/modules/indexes/document_loaders(/?)", + "destination": "/v0.1/docs/modules/data_connection/document_loaders/" }, { - "source": "/docs/modules/indexes/document_loaders/examples(/?)", - "destination": "/docs/modules/data_connection/document_loaders/" + "source": "/v0.1/docs/modules/indexes/document_loaders/examples(/?)", + "destination": "/v0.1/docs/modules/data_connection/document_loaders/" }, { - "source": "/docs/modules/data_connection/document_loaders/how_to/:path*(/?)", - "destination": "/docs/modules/data_connection/document_loaders/:path*/" + "source": "/v0.1/docs/modules/data_connection/document_loaders/how_to/:path*(/?)", + "destination": "/v0.1/docs/modules/data_connection/document_loaders/:path*/" }, { - "source": "/docs/modules/indexes/document_loaders/examples/file_loaders/:path*(/?)", + "source": "/v0.1/docs/modules/indexes/document_loaders/examples/file_loaders/:path*(/?)", "destination": "docs/integrations/document_loaders/file_loaders/:path*/" }, { - "source": "/docs/modules/indexes/document_loaders/examples/web_loaders/:path*(/?)", - "destination": "/docs/integrations/document_loaders/web_loaders/:path*/" + "source": "/v0.1/docs/modules/indexes/document_loaders/examples/web_loaders/:path*(/?)", + "destination": "/v0.1/docs/integrations/document_loaders/web_loaders/:path*/" }, { - "source": "/docs/modules/indexes/document_transformers(/?)", - "destination": "/docs/modules/data_connection/document_transformers/" + "source": "/v0.1/docs/modules/indexes/document_transformers(/?)", + "destination": "/v0.1/docs/modules/data_connection/document_transformers/" }, { - "source": "/docs/modules/indexes/text_splitters(/?)", - "destination": "/docs/modules/data_connection/document_transformers/" + "source": "/v0.1/docs/modules/indexes/text_splitters(/?)", + "destination": "/v0.1/docs/modules/data_connection/document_transformers/" }, { - "source": "/docs/modules/indexes/text_splitters/examples/:path*(/?)", - "destination": "/docs/modules/data_connection/document_transformers/:path*/" + "source": "/v0.1/docs/modules/indexes/text_splitters/examples/:path*(/?)", + "destination": "/v0.1/docs/modules/data_connection/document_transformers/:path*/" }, { - "source": "/docs/modules/data_connection/document_transformers/text_splitters/:path*/", - "destination": "/docs/modules/data_connection/document_transformers/:path*/" + "source": "/v0.1/docs/modules/data_connection/document_transformers/text_splitters/:path*/", + "destination": "/v0.1/docs/modules/data_connection/document_transformers/:path*/" }, { - "source": "/docs/modules/indexes/vector_stores(/?)", - "destination": "/docs/modules/data_connection/vectorstores/" + "source": "/v0.1/docs/modules/indexes/vector_stores(/?)", + "destination": "/v0.1/docs/modules/data_connection/vectorstores/" }, { - "source": "/docs/modules/indexes/vector_stores/integrations/:path*(/?)", - "destination": "/docs/integrations/vectorstores/:path*/" + "source": "/v0.1/docs/modules/indexes/vector_stores/integrations/:path*(/?)", + "destination": "/v0.1/docs/integrations/vectorstores/:path*/" }, { - "source": "/docs/modules/indexes/retrievers(/?)", - "destination": "/docs/modules/data_connection/retrievers/" + "source": "/v0.1/docs/modules/indexes/retrievers(/?)", + "destination": "/v0.1/docs/modules/data_connection/retrievers/" }, { - "source": "/docs/modules/indexes/retrievers/self_query(/?)", - "destination": "/docs/modules/data_connection/retrievers/self_query/" + "source": "/v0.1/docs/modules/indexes/retrievers/self_query(/?)", + "destination": "/v0.1/docs/modules/data_connection/retrievers/self_query/" }, { - "source": "/docs/modules/indexes/retrievers/self_query/examples/:path*(/?)", - "destination": "/docs/modules/data_connection/retrievers/self_query/:path*/" + "source": "/v0.1/docs/modules/indexes/retrievers/self_query/examples/:path*(/?)", + "destination": "/v0.1/docs/modules/data_connection/retrievers/self_query/:path*/" }, { - "source": "/docs/modules/data_connection/retrievers/how_to/self_query(/?)", - "destination": "/docs/modules/data_connection/retrievers/self_query/" + "source": "/v0.1/docs/modules/data_connection/retrievers/how_to/self_query(/?)", + "destination": "/v0.1/docs/modules/data_connection/retrievers/self_query/" }, { - "source": "/docs/modules/data_connection/retrievers/how_to/self_query/:path*(/?)", - "destination": "/docs/modules/data_connection/retrievers/self_query/:path*/" + "source": "/v0.1/docs/modules/data_connection/retrievers/how_to/self_query/:path*(/?)", + "destination": "/v0.1/docs/modules/data_connection/retrievers/self_query/:path*/" }, { - "source": "/docs/modules/indexes/retrievers/:path*(/?)", - "destination": "/docs/integrations/retrievers/:path*/" + "source": "/v0.1/docs/modules/indexes/retrievers/:path*(/?)", + "destination": "/v0.1/docs/integrations/retrievers/:path*/" }, { - "source": "/docs/modules/memory/examples/:path*(/?)", - "destination": "/docs/integrations/memory/:path*/" + "source": "/v0.1/docs/modules/memory/examples/:path*(/?)", + "destination": "/v0.1/docs/integrations/memory/:path*/" }, { - "source": "/docs/modules/chains/llm_chain(/?)", - "destination": "/docs/modules/chains/foundational/llm_chain/" + "source": "/v0.1/docs/modules/chains/llm_chain(/?)", + "destination": "/v0.1/docs/modules/chains/foundational/llm_chain/" }, { - "source": "/docs/modules/chains/index_related_chains(/?)", - "destination": "/docs/modules/chains/document/" + "source": "/v0.1/docs/modules/chains/index_related_chains(/?)", + "destination": "/v0.1/docs/modules/chains/document/" }, { - "source": "/docs/modules/chains/index_related_chains/document_qa(/?)", - "destination": "/docs/modules/chains/document/" + "source": "/v0.1/docs/modules/chains/index_related_chains/document_qa(/?)", + "destination": "/v0.1/docs/modules/chains/document/" }, { - "source": "/docs/modules/chains/index_related_chains/retrieval_qa(/?)", + "source": "/v0.1/docs/modules/chains/index_related_chains/retrieval_qa(/?)", "destination": "docs/modules/chains/popular/vector_db_qa/" }, { - "source": "/docs/modules/chains/index_related_chains/conversational_retrieval(/?)", - "destination": "/docs/modules/chains/popular/chat_vector_db/" + "source": "/v0.1/docs/modules/chains/index_related_chains/conversational_retrieval(/?)", + "destination": "/v0.1/docs/modules/chains/popular/chat_vector_db/" }, { - "source": "/docs/modules/chains/sequential_chain(/?)", - "destination": "/docs/modules/chains/foundational/sequential_chains/" + "source": "/v0.1/docs/modules/chains/sequential_chain(/?)", + "destination": "/v0.1/docs/modules/chains/foundational/sequential_chains/" }, { - "source": "/docs/modules/chains/openai_functions(/?)", - "destination": "/docs/modules/chains/additional/openai_functions/" + "source": "/v0.1/docs/modules/chains/openai_functions(/?)", + "destination": "/v0.1/docs/modules/chains/additional/openai_functions/" }, { - "source": "/docs/modules/chains/openai_functions/extraction(/?)", - "destination": "/docs/modules/chains/additional/openai_functions/extraction/" + "source": "/v0.1/docs/modules/chains/openai_functions/extraction(/?)", + "destination": "/v0.1/docs/modules/chains/additional/openai_functions/extraction/" }, { - "source": "/docs/modules/chains/openai_functions/openapi(/?)", - "destination": "/docs/modules/chains/additional/openai_functions/openapi/" + "source": "/v0.1/docs/modules/chains/openai_functions/openapi(/?)", + "destination": "/v0.1/docs/modules/chains/additional/openai_functions/openapi/" }, { - "source": "/docs/modules/chains/openai_functions/structured_output(/?)", - "destination": "/docs/modules/chains/popular/structured_output/" + "source": "/v0.1/docs/modules/chains/openai_functions/structured_output(/?)", + "destination": "/v0.1/docs/modules/chains/popular/structured_output/" }, { - "source": "/docs/modules/chains/openai_functions/tagging(/?)", - "destination": "/docs/modules/chains/additional/openai_functions/tagging/" + "source": "/v0.1/docs/modules/chains/openai_functions/tagging(/?)", + "destination": "/v0.1/docs/modules/chains/additional/openai_functions/tagging/" }, { - "source": "/docs/modules/chains/other_chains(/?)", - "destination": "/docs/modules/chains/additional/" + "source": "/v0.1/docs/modules/chains/other_chains(/?)", + "destination": "/v0.1/docs/modules/chains/additional/" }, { - "source": "/docs/modules/chains/other_chains/analyze_document(/?)", - "destination": "/docs/modules/chains/additional/analyze_document/" + "source": "/v0.1/docs/modules/chains/other_chains/analyze_document(/?)", + "destination": "/v0.1/docs/modules/chains/additional/analyze_document/" }, { - "source": "/docs/modules/chains/other_chains/api_chain(/?)", - "destination": "/docs/modules/chains/popular/api/" + "source": "/v0.1/docs/modules/chains/other_chains/api_chain(/?)", + "destination": "/v0.1/docs/modules/chains/popular/api/" }, { - "source": "/docs/modules/chains/other_chains/constitutional_chain(/?)", - "destination": "/docs/modules/chains/additional/constitutional_chain/" + "source": "/v0.1/docs/modules/chains/other_chains/constitutional_chain(/?)", + "destination": "/v0.1/docs/modules/chains/additional/constitutional_chain/" }, { - "source": "/docs/modules/chains/other_chains/moderation_chain(/?)", - "destination": "/docs/modules/chains/additional/moderation/" + "source": "/v0.1/docs/modules/chains/other_chains/moderation_chain(/?)", + "destination": "/v0.1/docs/modules/chains/additional/moderation/" }, { - "source": "/docs/modules/chains/other_chains/multi_prompt_chain(/?)", - "destination": "/docs/modules/chains/additional/multi_prompt_router/" + "source": "/v0.1/docs/modules/chains/other_chains/multi_prompt_chain(/?)", + "destination": "/v0.1/docs/modules/chains/additional/multi_prompt_router/" }, { - "source": "/docs/modules/chains/other_chains/multi_retrieval_qa_chain(/?)", - "destination": "/docs/modules/chains/additional/multi_retrieval_qa_router/" + "source": "/v0.1/docs/modules/chains/other_chains/multi_retrieval_qa_chain(/?)", + "destination": "/v0.1/docs/modules/chains/additional/multi_retrieval_qa_router/" }, { - "source": "/docs/modules/chains/other_chains/sql(/?)", - "destination": "/docs/modules/chains/popular/sqlite/" + "source": "/v0.1/docs/modules/chains/other_chains/sql(/?)", + "destination": "/v0.1/docs/modules/chains/popular/sqlite/" }, { - "source": "/docs/modules/chains/other_chains/summarization(/?)", - "destination": "/docs/modules/chains/popular/summarize/" + "source": "/v0.1/docs/modules/chains/other_chains/summarization(/?)", + "destination": "/v0.1/docs/modules/chains/popular/summarize/" }, { - "source": "/docs/modules/chains/prompt_selectors(/?)", - "destination": "/docs/modules/model_io/prompts/prompt_selectors/" + "source": "/v0.1/docs/modules/chains/prompt_selectors(/?)", + "destination": "/v0.1/docs/modules/model_io/prompts/prompt_selectors/" }, { - "source": "/docs/modules/agents/agents(/?)", - "destination": "/docs/modules/agents/" + "source": "/v0.1/docs/modules/agents/agents(/?)", + "destination": "/v0.1/docs/modules/agents/" }, { - "source": "/docs/modules/agents/agents/action(/?)", - "destination": "/docs/modules/agents/" + "source": "/v0.1/docs/modules/agents/agents/action(/?)", + "destination": "/v0.1/docs/modules/agents/" }, { - "source": "/docs/modules/agents/agents/action/llm_mrkl(/?)", - "destination": "/docs/modules/agents/agent_types/react/" + "source": "/v0.1/docs/modules/agents/agents/action/llm_mrkl(/?)", + "destination": "/v0.1/docs/modules/agents/agent_types/react/" }, { - "source": "/docs/modules/agents/agents/action/chat_mrkl(/?)", - "destination": "/docs/modules/agents/agent_types/react/" + "source": "/v0.1/docs/modules/agents/agents/action/chat_mrkl(/?)", + "destination": "/v0.1/docs/modules/agents/agent_types/react/" }, { - "source": "/docs/modules/agents/agents/action/conversational_agent(/?)", - "destination": "/docs/modules/agents/agent_types/chat_conversation_agent/" + "source": "/v0.1/docs/modules/agents/agents/action/conversational_agent(/?)", + "destination": "/v0.1/docs/modules/agents/agent_types/chat_conversation_agent/" }, { - "source": "/docs/modules/agents/agents/action/structured_chat(/?)", - "destination": "/docs/modules/agents/agent_types/structured_chat/" + "source": "/v0.1/docs/modules/agents/agents/action/structured_chat(/?)", + "destination": "/v0.1/docs/modules/agents/agent_types/structured_chat/" }, { - "source": "/docs/modules/agents/agents/action/openai(/?)", - "destination": "/docs/modules/agents/agent_types/openai_functions_agent/" + "source": "/v0.1/docs/modules/agents/agents/action/openai(/?)", + "destination": "/v0.1/docs/modules/agents/agent_types/openai_functions_agent/" }, { "source": "docs/modules/agents/agents/plan_execute(/?)", - "destination": "/docs/modules/agents/agent_types/plan_and_execute/" + "destination": "/v0.1/docs/modules/agents/agent_types/plan_and_execute/" }, { - "source": "/docs/modules/agents/agents/custom(/?)", - "destination": "/docs/modules/agents/how_to/custom_llm_agent/" + "source": "/v0.1/docs/modules/agents/agents/custom(/?)", + "destination": "/v0.1/docs/modules/agents/how_to/custom_llm_agent/" }, { - "source": "/docs/modules/agents/agents/custom/custom_prompt_chat(/?)", - "destination": "/docs/modules/agents/how_to/custom_llm_chat_agent/" + "source": "/v0.1/docs/modules/agents/agents/custom/custom_prompt_chat(/?)", + "destination": "/v0.1/docs/modules/agents/how_to/custom_llm_chat_agent/" }, { - "source": "/docs/modules/agents/agents/custom/custom_agent_chat(/?)", - "destination": "/docs/modules/agents/how_to/custom_llm_chat_agent/" + "source": "/v0.1/docs/modules/agents/agents/custom/custom_agent_chat(/?)", + "destination": "/v0.1/docs/modules/agents/how_to/custom_llm_chat_agent/" }, { - "source": "/docs/modules/agents/agents/custom/custom_agent_llm(/?)", - "destination": "/docs/modules/agents/how_to/custom_llm_agent/" + "source": "/v0.1/docs/modules/agents/agents/custom/custom_agent_llm(/?)", + "destination": "/v0.1/docs/modules/agents/how_to/custom_llm_agent/" }, { - "source": "/docs/modules/agents/executor(/?)", - "destination": "/docs/modules/agents/" + "source": "/v0.1/docs/modules/agents/executor(/?)", + "destination": "/v0.1/docs/modules/agents/" }, { - "source": "/docs/modules/agents/executor/getting-started(/?)", - "destination": "/docs/modules/agents/" + "source": "/v0.1/docs/modules/agents/executor/getting-started(/?)", + "destination": "/v0.1/docs/modules/agents/" }, { - "source": "/docs/modules/agents/tools/integrations(/?)", - "destination": "/docs/modules/agents/tools/integrations/" + "source": "/v0.1/docs/modules/agents/tools/integrations(/?)", + "destination": "/v0.1/docs/modules/agents/tools/integrations/" }, { - "source": "/docs/modules/agents/tools/agents_with_vectorstores(/?)", - "destination": "/docs/modules/agents/tools/how_to/agents_with_vectorstores/" + "source": "/v0.1/docs/modules/agents/tools/agents_with_vectorstores(/?)", + "destination": "/v0.1/docs/modules/agents/tools/how_to/agents_with_vectorstores/" }, { - "source": "/docs/modules/agents/tools/aiplugin-tool(/?)", - "destination": "/docs/modules/agents/tools/integrations/aiplugin-tool/" + "source": "/v0.1/docs/modules/agents/tools/aiplugin-tool(/?)", + "destination": "/v0.1/docs/modules/agents/tools/integrations/aiplugin-tool/" }, { - "source": "/docs/modules/agents/tools/lambda_agent(/?)", - "destination": "/docs/modules/agents/tools/integrations/lambda_agent/" + "source": "/v0.1/docs/modules/agents/tools/lambda_agent(/?)", + "destination": "/v0.1/docs/modules/agents/tools/integrations/lambda_agent/" }, { - "source": "/docs/modules/agents/tools/webbrowser(/?)", - "destination": "/docs/modules/agents/tools/integrations/webbrowser/" + "source": "/v0.1/docs/modules/agents/tools/webbrowser(/?)", + "destination": "/v0.1/docs/modules/agents/tools/integrations/webbrowser/" }, { - "source": "/docs/modules/agents/tools/zapier_agent(/?)", - "destination": "/docs/modules/agents/tools/integrations/zapier_agent/" + "source": "/v0.1/docs/modules/agents/tools/zapier_agent(/?)", + "destination": "/v0.1/docs/modules/agents/tools/integrations/zapier_agent/" }, { - "source": "/docs/modules/agents/additional_functionality(/?)", - "destination": "/docs/modules/agents/" + "source": "/v0.1/docs/modules/agents/additional_functionality(/?)", + "destination": "/v0.1/docs/modules/agents/" }, { - "source": "/docs/production/callbacks(/?)", - "destination": "/docs/modules/callbacks/" + "source": "/v0.1/docs/production/callbacks(/?)", + "destination": "/v0.1/docs/modules/callbacks/" }, { - "source": "/docs/production/callbacks/create-handlers(/?)", - "destination": "/docs/modules/callbacks/how_to/create_handlers/" + "source": "/v0.1/docs/production/callbacks/create-handlers(/?)", + "destination": "/v0.1/docs/modules/callbacks/how_to/create_handlers/" }, { - "source": "/docs/production/callbacks/creating-subclasses(/?)", - "destination": "/docs/modules/callbacks/how_to/creating_subclasses/" + "source": "/v0.1/docs/production/callbacks/creating-subclasses(/?)", + "destination": "/v0.1/docs/modules/callbacks/how_to/creating_subclasses/" }, { - "source": "/docs/production/deployment(/?)", - "destination": "/docs/get_started/introduction/" + "source": "/v0.1/docs/production/deployment(/?)", + "destination": "/v0.1/docs/get_started/introduction/" }, { - "source": "/docs/production/tracing(/?)", + "source": "/v0.1/docs/production/tracing(/?)", "destination": "https://docs.smith.langchain.com/" }, { - "source": "/docs/modules/data_connection/retrievers/integrations/parent-document-retriever", - "destination": "/docs/modules/data_connection/retrievers/how_to/parent-document-retriever" + "source": "/v0.1/docs/modules/data_connection/retrievers/integrations/parent-document-retriever", + "destination": "/v0.1/docs/modules/data_connection/retrievers/how_to/parent-document-retriever" }, { - "source": "/docs/modules/data_connection/caching_embeddings(/?)", - "destination": "/docs/modules/data_connection/text_embedding/caching_embeddings" + "source": "/v0.1/docs/modules/data_connection/caching_embeddings(/?)", + "destination": "/v0.1/docs/modules/data_connection/text_embedding/caching_embeddings" }, { - "source": "/docs/guides/expression_language/cookbook(/?)", - "destination": "/docs/expression_language/cookbook/" + "source": "/v0.1/docs/guides/expression_language/cookbook(/?)", + "destination": "/v0.1/docs/expression_language/cookbook/" }, { - "source": "/docs/guides/expression_language/interface(/?)", - "destination": "/docs/expression_language/interface/" + "source": "/v0.1/docs/guides/expression_language/interface(/?)", + "destination": "/v0.1/docs/expression_language/interface/" }, { - "source": "/docs/additional_resources/scrimba(/?)", - "destination": "/docs/additional_resources/tutorials/" + "source": "/v0.1/docs/additional_resources/scrimba(/?)", + "destination": "/v0.1/docs/additional_resources/tutorials/" }, { - "source": "/docs/additional_resources/expression_language_cheatsheet(/?)", - "destination": "/docs/additional_resources/tutorials/" + "source": "/v0.1/docs/additional_resources/expression_language_cheatsheet(/?)", + "destination": "/v0.1/docs/additional_resources/tutorials/" }, { - "source": "/docs/modules/model_io/models/llms/integrations(/.*)?", - "destination": "/docs/integrations/llms$1" + "source": "/v0.1/docs/modules/model_io/models/llms/integrations(/.*)?", + "destination": "/v0.1/docs/integrations/llms$1" }, { - "source": "/docs/modules/model_io/models/chat/integrations(/.*)?", - "destination": "/docs/integrations/chat$1" + "source": "/v0.1/docs/modules/model_io/models/chat/integrations(/.*)?", + "destination": "/v0.1/docs/integrations/chat$1" }, { - "source": "/docs/modules/data_connection/document_loaders/integrations(/.*)?", - "destination": "/docs/integrations/document_loaders$1" + "source": "/v0.1/docs/modules/data_connection/document_loaders/integrations(/.*)?", + "destination": "/v0.1/docs/integrations/document_loaders$1" }, { - "source": "/docs/modules/data_connection/document_transformers/integrations(/.*)?", - "destination": "/docs/integrations/document_transformers$1" + "source": "/v0.1/docs/modules/data_connection/document_transformers/integrations(/.*)?", + "destination": "/v0.1/docs/integrations/document_transformers$1" }, { - "source": "/docs/modules/data_connection/text_embedding/integrations(/.*)?", - "destination": "/docs/integrations/text_embedding$1" + "source": "/v0.1/docs/modules/data_connection/text_embedding/integrations(/.*)?", + "destination": "/v0.1/docs/integrations/text_embedding$1" }, { - "source": "/docs/modules/data_connection/vectorstores/integrations(/.*)?", - "destination": "/docs/integrations/vectorstores$1" + "source": "/v0.1/docs/modules/data_connection/vectorstores/integrations(/.*)?", + "destination": "/v0.1/docs/integrations/vectorstores$1" }, { - "source": "/docs/modules/data_connection/retrievers/integrations(/.*)?", - "destination": "/docs/integrations/retrievers$1" + "source": "/v0.1/docs/modules/data_connection/retrievers/integrations(/.*)?", + "destination": "/v0.1/docs/integrations/retrievers$1" }, { - "source": "/docs/modules/memory/integrations(/.*)?", - "destination": "/docs/integrations/chat_memory$1" + "source": "/v0.1/docs/modules/memory/integrations(/.*)?", + "destination": "/v0.1/docs/integrations/chat_memory$1" }, { - "source": "/docs/modules/agents/tools/integrations(/.*)?", - "destination": "/docs/integrations/tools$1" + "source": "/v0.1/docs/modules/agents/tools/integrations(/.*)?", + "destination": "/v0.1/docs/integrations/tools$1" }, { - "source": "/docs/modules/agents/toolkits(/.*)?", - "destination": "/docs/integrations/toolkits$1" + "source": "/v0.1/docs/modules/agents/toolkits(/.*)?", + "destination": "/v0.1/docs/integrations/toolkits$1" }, { - "source": "/docs/api/:slug", + "source": "/v0.1/docs/api/:slug", "destination": "https://api.js.langchain.com/modules/:slug.html" }, { - "source": "/docs/api/:slug1/classes/:slug2", + "source": "/v0.1/docs/api/:slug1/classes/:slug2", "destination": "https://api.js.langchain.com/classes/:slug1.:slug2.html" }, { - "source": "/docs/api/:slug1/functions/:slug2", + "source": "/v0.1/docs/api/:slug1/functions/:slug2", "destination": "https://api.js.langchain.com/functions/:slug1.:slug2.html" }, { - "source": "/docs/api/:slug1/interfaces/:slug2", + "source": "/v0.1/docs/api/:slug1/interfaces/:slug2", "destination": "https://api.js.langchain.com/interfaces/:slug1.:slug2.html" }, { - "source": "/docs/api/:slug1/types/:slug2", + "source": "/v0.1/docs/api/:slug1/types/:slug2", "destination": "https://api.js.langchain.com/types/:slug1.:slug2.html" }, { - "source": "/docs/api/:slug1/variables/:slug2", + "source": "/v0.1/docs/api/:slug1/variables/:slug2", "destination": "https://api.js.langchain.com/variables/:slug1.:slug2.html" }, { - "source": "/docs/modules/model_io/models/llms/how_to/:slug", - "destination": "/docs/modules/model_io/llms/:slug" + "source": "/v0.1/docs/modules/model_io/models/llms/how_to/:slug", + "destination": "/v0.1/docs/modules/model_io/llms/:slug" }, { - "source": "/docs/modules/model_io/models/chat/how_to/:slug", - "destination": "/docs/modules/model_io/chat/:slug" + "source": "/v0.1/docs/modules/model_io/models/chat/how_to/:slug", + "destination": "/v0.1/docs/modules/model_io/chat/:slug" }, { - "source": "/docs/modules/model_io/output_parsers/bytes(/.*)?", - "destination": "/docs/modules/model_io/output_parsers/types/bytes/" + "source": "/v0.1/docs/modules/model_io/output_parsers/bytes(/.*)?", + "destination": "/v0.1/docs/modules/model_io/output_parsers/types/bytes/" }, { - "source": "/docs/modules/model_io/output_parsers/string(/.*)?", - "destination": "/docs/modules/model_io/output_parsers/types/string/" + "source": "/v0.1/docs/modules/model_io/output_parsers/string(/.*)?", + "destination": "/v0.1/docs/modules/model_io/output_parsers/types/string/" }, { - "source": "/docs/modules/model_io/output_parsers/combining_output_parser(/.*)?", - "destination": "/docs/modules/model_io/output_parsers/types/combining_output_parser/" + "source": "/v0.1/docs/modules/model_io/output_parsers/combining_output_parser(/.*)?", + "destination": "/v0.1/docs/modules/model_io/output_parsers/types/combining_output_parser/" }, { - "source": "/docs/modules/model_io/output_parsers/comma_separated(/.*)?", - "destination": "/docs/modules/model_io/output_parsers/types/comma_separated/" + "source": "/v0.1/docs/modules/model_io/output_parsers/comma_separated(/.*)?", + "destination": "/v0.1/docs/modules/model_io/output_parsers/types/comma_separated/" }, { - "source": "/docs/modules/model_io/output_parsers/custom_list_parser(/.*)?", - "destination": "/docs/modules/model_io/output_parsers/types/custom_list_parser/" + "source": "/v0.1/docs/modules/model_io/output_parsers/custom_list_parser(/.*)?", + "destination": "/v0.1/docs/modules/model_io/output_parsers/types/custom_list_parser/" }, { - "source": "/docs/modules/model_io/output_parsers/http_response(/.*)?", - "destination": "/docs/modules/model_io/output_parsers/types/http_response/" + "source": "/v0.1/docs/modules/model_io/output_parsers/http_response(/.*)?", + "destination": "/v0.1/docs/modules/model_io/output_parsers/types/http_response/" }, { - "source": "/docs/modules/model_io/output_parsers/json_functions(/.*)?", - "destination": "/docs/modules/model_io/output_parsers/types/json_functions/" + "source": "/v0.1/docs/modules/model_io/output_parsers/json_functions(/.*)?", + "destination": "/v0.1/docs/modules/model_io/output_parsers/types/json_functions/" }, { - "source": "/docs/modules/model_io/output_parsers/output_fixing_parser(/.*)?", - "destination": "/docs/modules/model_io/output_parsers/types/output_fixing_parser/" + "source": "/v0.1/docs/modules/model_io/output_parsers/output_fixing_parser(/.*)?", + "destination": "/v0.1/docs/modules/model_io/output_parsers/types/output_fixing_parser/" }, { - "source": "/docs/modules/model_io/output_parsers/structured(/.*)?", - "destination": "/docs/modules/model_io/output_parsers/types/structured/" + "source": "/v0.1/docs/modules/model_io/output_parsers/structured(/.*)?", + "destination": "/v0.1/docs/modules/model_io/output_parsers/types/structured/" }, { - "source": "/docs/modules/agents/tools/how_to/dynamic(/?)", - "destination": "/docs/modules/agents/tools/dynamic/" + "source": "/v0.1/docs/modules/agents/tools/how_to/dynamic(/?)", + "destination": "/v0.1/docs/modules/agents/tools/dynamic/" }, { - "source": "/docs/modules/chains/foundational/sequential_chains(/?)", - "destination": "/docs/expression_language/" + "source": "/v0.1/docs/modules/chains/foundational/sequential_chains(/?)", + "destination": "/v0.1/docs/expression_language/" }, { - "source": "/docs/modules/memory/how_to(/.*)?", - "destination": "/docs/modules/memory/types$1" + "source": "/v0.1/docs/modules/memory/how_to(/.*)?", + "destination": "/v0.1/docs/modules/memory/types$1" }, { - "source": "/docs/integrations/chat/anthropic_functions(/?)", - "destination": "/docs/integrations/chat/anthropic_tools/" + "source": "/v0.1/docs/integrations/chat/anthropic_functions(/?)", + "destination": "/v0.1/docs/integrations/chat/anthropic_tools/" } ] }