Overview of DAT (Data Ask Tool)
mainDAT (Data Ask Tool) is an enterprise-grade AI framework designed to bridge the gap between natural language and structured data. It allows business users to interact with databases using natural language instead of writing complex SQL queries.
Unlike a standalone platform, DAT is a framework that provides an Askdata Agent workflow. It focuses on ensuring high-quality and deterministic results by providing precise knowledge (semantic modeling), more computational steps, and extended reasoning time.
Key capabilities include:
- Pluggable SPI Architecture: Flexible extension for databases, LLMs, and embedding models.
- Multi-Database Support: Native support for MySQL, PostgreSQL, and Oracle, with extensibility via SPI.
- Semantic SQL Generation: LLM-based natural language understanding with automatic SQL dialect conversion.
- Semantic Modeling: Definition of Entities (primary/foreign keys), Dimensions (time, category, enumeration), and Measures (aggregations, calculated fields) using YAML.
- Vectorized Retrieval Augmentation (RAG): Semantic matching for SQL question-answer pairs, synonyms, and business knowledge using backends like DuckDB, Weaviate, or PGVector.