Spaces:
Running
Running
| """Simulated ERP knowledgebase + the ERP DocIQ chatbot (NLQ, summary, reasons, analytics). | |
| A deterministic, offline-first stand-in for a real retail ERP (SAP/Oracle/NetSuite). | |
| `data.py` seeds a realistic SQLite warehouse; `chat.py` answers natural-language | |
| questions over it (text-to-SQL NLQ + analytics + summarization), routed to a small | |
| reasoning model (OpenBMB MiniCPM3-4B) with a deterministic offline fallback. | |
| """ | |
| from .data import ErpWarehouse, ERP_SCHEMA_DOC, get_warehouse | |
| from .chat import ErpChat, answer_question | |
| __all__ = ["ErpWarehouse", "ERP_SCHEMA_DOC", "get_warehouse", "ErpChat", "answer_question"] | |