langchain/docs/vercel.json
Erick Friis a073c4c498
templates,docs: leave templates in v0.2 (#27952)
all template installs will now have to declare `--branch v0.2` to make
clear they aren't compatible with langchain 0.3 (most have a pydantic v1
setup). e.g.

```
langchain-cli app add pirate-speak --branch v0.2
```
2024-11-07 22:23:48 +00:00

103 lines
3.1 KiB
JSON

{
"buildCommand": "yarn build",
"outputDirectory": "build",
"ignoreCommand": "bash ignore-step.sh",
"trailingSlash": true,
"rewrites": [
{
"source": "/docs/integrations(/?)",
"destination": "/docs/integrations/platforms/"
},
{
"source": "/v0.1",
"destination": "https://langchain-v01.vercel.app/v0.1"
},
{
"source": "/v0.1/:path(.*/?)*",
"destination": "https://langchain-v01.vercel.app/v0.1/:path*"
},
{
"source": "/v0.2",
"destination": "https://langchain-v02.vercel.app/v0.2"
},
{
"source": "/v0.2/:path(.*/?)*",
"destination": "https://langchain-v02.vercel.app/v0.2/:path*"
}
],
"redirects": [
{
"source": "/v0.3/docs/:path(.*/?)*",
"destination": "/docs/:path*"
},
{
"source": "/docs/modules/agents/tools/custom_tools(/?)",
"destination": "/docs/how_to/custom_tools/"
},
{
"source": "/docs/expression_language(/?)",
"destination": "/docs/concepts/#langchain-expression-language-lcel"
},
{
"source": "/docs/expression_language/interface(/?)",
"destination": "/docs/concepts/#runnable-interface"
},
{
"source": "/docs/versions/overview(/?)",
"destination": "/docs/versions/v0_2/overview/"
},
{
"source": "/docs/how_to/tool_calls_multi_modal(/?)",
"destination": "/docs/how_to/multimodal_inputs/"
},
{
"source": "/docs/langsmith(/?)",
"destination": "https://docs.smith.langchain.com/"
},
{
"source": "/docs/langgraph(/?)",
"destination": "https://langchain-ai.github.io/langgraph"
},
{
"source": "/",
"destination": "/docs/introduction/"
},
{
"source": "/docs(/?)",
"destination": "/docs/introduction/"
},
{
"source": "/docs/get_started/introduction(/?)",
"destination": "/docs/introduction/"
},
{
"source": "/docs/how_to/migrate_chains(/?)",
"destination": "/docs/versions/migrating_chains"
},
{
"source": "/v0.2/docs/templates/:path(.*/?)*",
"destination": "https://github.com/langchain-ai/langchain/tree/v0.2/templates/:path*"
},
{
"source": "/docs/integrations/providers/mlflow_ai_gateway(/?)",
"destination": "/docs/integrations/providers/mlflow/"
},
{
"source": "/docs/integrations/platforms/:path((?:anthropic|aws|google|huggingface|microsoft|openai)?/?)*",
"destination": "/docs/integrations/providers/:path*"
},
{
"source": "/docs/troubleshooting/errors/:path((?:GRAPH_RECURSION_LIMIT|INVALID_CONCURRENT_GRAPH_UPDATE|INVALID_GRAPH_NODE_RETURN_VALUE|MULTIPLE_SUBGRAPHS|INVALID_CHAT_HISTORY)/?)*",
"destination": "https://langchain-ai.github.io/langgraph/troubleshooting/errors/:path*"
},
{
"source": "/docs/contributing/:path((?:code|documentation|integrations|testing)(?:/|/.*/?)?)",
"destination": "/docs/contributing/how_to/:path"
},
{
"source": "/docs/contributing/:path((?:faq|repo_structure|review_process)/?)",
"destination": "/docs/contributing/reference/:path"
}
]
}