🤯 You can now expose the bot in a FastAPI app with one line of code #3
momegas
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
You can also create a FastAPI app that will expose the bot as an API.
Just run
uvicorn main:app --reload
to run the API locally.You should then be able to visit
http://localhost:8000/docs
to see the API documentation.Beta Was this translation helpful? Give feedback.
All reactions