DataGraph
An enterprise AI copilot that connects business knowledge to useful SQL, commands and audit scripts.
The problem
Business rules, metrics and operational runbooks are often disconnected from the tools used to act on them.
The approach
Built an OKF-based copilot that retrieves linked Markdown knowledge through a graph, without a vector database. The retrieved context supports generation of SQL queries, CLI commands and security-audit scripts.
Engineering details
- Graph-based retrieval across linked knowledge
- Context compression to improve prompt efficiency
- JSON recovery and retry logic for API reliability
Stack
Python, Streamlit, OpenRouter API, OpenAI SDK, OKF, Markdown and Regex.