mirror of
https://github.com/reconurge/flowsint.git
synced 2026-05-07 04:09:49 -05:00
Add POST /api/types/detect endpoint that detects the type of a text input by iterating registered types and calling their detect() classmethod. Returns detected type with fields and primary field pre-filled. Falls back to Phrase when no type matches.
flowsint-api
Installation
- Install Python dependencies:
poetry install
Run
# dev
poetry run uvicorn app.main:app --host 0.0.0.0 --port 5001 --reload
# prod
poetry run uvicorn app.main:app --host 0.0.0.0 --port 5001