Skip to main content

How WrenAI works?

overview WrenAI is consist of three core services:

Wren UI:

An intuitive user interface for asking questions, defining data relationships, and integrating data sources within WrenAI's framework.

Wren AI Service:

Processes queries using a vector database for context retrieval, guiding LLMs to produce precise SQL outputs.

Wren Engine:

Serves as the semantic engine of WrenAI, managing metadata and connecting to data sources. Wren engine can transpile from Standard ANSI SQL into different SQL dialects and provides the semantic encapsulate ability to define aggregations and calculations in the semantic modeling layer.