Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🤯 You can now expose the bot in a FastAPI app with one line of code#3

Discussion options

You can also create a FastAPI app that will expose the bot as an API.
Just runuvicorn main:app --reload to run the API locally.
You should then be able to visithttp://localhost:8000/docs to see the API documentation.

pip install qnabot
fromqnabotimportQnABot,create_appapp=create_app(QnABot("./mydata"))
You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
1 participant
@momegas

[8]ページ先頭

©2009-2025 Movatter.jp