Overview
A business question becomes an inspectable query
- Input
- Rule / logic
- AI step
- System
- Human
- 01InputAsk
A question in English or Arabic
- 02Rule / logicDiscover schema
Automatic schema discovery and relevant-table selection — e.g. OINV, INV1, OITM
- 03AI stepGenerate
Local inference with Ollama, including qwen2.5-coder:7b
- 04SystemQuery
T-SQL against SBODemoGB on SQL Server 2022
- 05HumanInspect
Generated SQL and returned results shown in Streamlit
Approach
The SAP prototype combines schema discovery, local language-model inference, generated T-SQL and visible query results. Future integration of documents outside SAP remains a separate architectural consideration.
Evidence and status
PrototypeSAP Business One demo prototype
A working prototype, for example against demo data.