Skip to content

super16/eliza-chatbot-fastapi

Repository files navigation

eliza-chatbot-fastapi

Eliza chatbot backend implemented with FastAPI websockets.

Check out SPA which using this application and its source.

Prepare environment

Requires poetry.

poetry install

Lint

poetry run flake8
poetry run mypy eliza_chatbot_fastapi

Test

poetry run python eliza_chatbot_fastapi/eliza.py

Development Run

ALLOWED_HOST="localhost" ALLOWED_ORIGIN="http://127.0.0.1:5173" poetry run uvicorn eliza_chatbot_fastapi.main:app --reload