Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Add FastAPI + Vercel deployment option): #4520

Merged
merged 2 commits into from
May 17, 2023

Conversation

msoedov
Copy link
Contributor

@msoedov msoedov commented May 11, 2023

Update deployments doc with langcorn API server

API server example

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

Who can review?

@hwchase17

@dev2049
Copy link
Contributor

dev2049 commented May 17, 2023

thanks @msoedov, glad to have you here!

@dev2049 dev2049 merged commit 4c3ab55 into langchain-ai:master May 17, 2023
@danielchalef danielchalef mentioned this pull request Jun 5, 2023
This was referenced Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants