15 lines
547 B
Python
15 lines
547 B
Python
"""
|
|
This module contains all the routers for the LightRAG API.
|
|
|
|
The document/query/graph routers are intentionally NOT re-exported here:
|
|
they are constructed per-app via the `create_*_routes` factory functions
|
|
in their respective modules. A module-level singleton would accumulate
|
|
duplicate routes if the factory is invoked more than once in the same
|
|
process (e.g. across tests), which produced "Duplicate Operation ID"
|
|
warnings before the factories were converted to local routers.
|
|
"""
|
|
|
|
from .ollama_api import OllamaAPI
|
|
|
|
__all__ = ["OllamaAPI"]
|