Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 679 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 679 Bytes

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:https://127.0.0.1:5173" poetry run uvicorn eliza_chatbot_fastapi.main:app --reload