An interactive visualization of the codebase, module relationships, and
data flows.
Scroll to zoom, click and drag background to pan.
Legend
Architectural Insights
Central Orchestrator:
The
Rails
application acts as the system's core, connecting and coordinating
all other components.
Asynchronous by Design:
The use of
Falcon
&
Async
is a critical choice to handle the high-latency, I/O-bound nature of
LLM API calls, ensuring scalability.
Decoupled NLP Processing:
Encapsulating
spaCy
in a separate Docker container isolates the Python environment,
simplifying the main Rails app and improving maintainability.
Phased Database Strategy:
The architecture pragmatically starts with
PostgreSQL
for both relational and graph data, with a clear, planned migration
path to
Neo4j
for advanced graph queries as the system matures.