Files
flowsint/flowsint-api
dextmorgn 972763343e feat(api): add type detection route and service
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.
2026-03-15 12:35:46 +01:00
..

flowsint-api

Installation

  1. 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