mirror of https://github.com/hwchase17/langchain
feat(Add FastAPI + Vercel deployment option): (#4520)
# Update deployments doc with langcorn API server API server example ```python from fastapi import FastAPI from langcorn import create_service app: FastAPI = create_service( "examples.ex1:chain", "examples.ex2:chain", "examples.ex3:chain", "examples.ex4:sequential_chain", "examples.ex5:conversation", "examples.ex6:conversation_with_summary", ) ``` More examples: https://github.com/msoedov/langcorn/tree/main/examples Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>pull/2361/head^2
parent
ef8b5f64bc
commit
4c3ab55e94
Loading…
Reference in New Issue