infiniflow/ragflow · Architecture
A static read of how infiniflow/ragflow is wired together — module coupling, layering, and circular dependencies — derived from its import graph.
C
Architecture grade
score 69/100
8
Import cycles
lower is better
345
Modules parsed
1145 edges
97%
Layeredness
clean-layer ratio
Most-depended-on modules
These are the highest-fan-in files — change them and the blast radius is largest. Read them first.
- common/constants.py64 importers · radius 146
- api/db/db_models.py48 importers · radius 131
- common/__init__.py48 importers · radius 147
- common/misc_utils.py43 importers · radius 128
- common/data_source/config.py40 importers · radius 42
- common/data_source/models.py40 importers · radius 43
- api/utils/api_utils.py39 importers · radius 101
- common/data_source/interfaces.py32 importers · radius 37
Circular dependencies (8)
- api/db/services/tenant_llm_service.py → api/db/services/llm_service.py → api/db/services/tenant_llm_service.py
- api/utils/api_utils.py → api/apps/__init__.py → api/utils/api_utils.py
- api/apps/__init__.py → api/apps/backward_compat.py → api/apps/__init__.py
- api/apps/__init__.py → api/apps/backward_compat.py → api/apps/restful_apis/system_api.py → api/apps/__init__.py
- api/utils/api_utils.py → api/apps/__init__.py → api/apps/backward_compat.py → api/apps/restful_apis/system_api.py → api/utils/api_utils.py
- api/utils/api_utils.py → api/apps/__init__.py → api/apps/backward_compat.py → api/apps/restful_apis/system_api.py → api/db/services/knowledgebase_service.py → api/utils/api_utils.py
Ask AI about infiniflow/ragflow
Grounded in the actual source code. Pick a starter question or write your own.
What does this repo do, in one paragraph?How would I get started using it?What are the main alternatives?Show me the entry point.
Or write your own question →Informational only. RepoPilot summarises public signals at the time of analysis; they can be incomplete or stale. Not professional, security, or legal advice.