Skip to main content

SaaS Architecture

saas-architecture.png

Waii's SaaS deployment operates within Waii's own VPC. The setup includes a Kubernetes cluster with the following components:

  • UI/API Pod: Hosts UI and API endpoints for Waii.
  • Metadata Management Pods: Retrieve information from customer databases and store it in an internal PostgreSQL database.
  • Query Generator / Compiler Pods: Utilizes the stored information to produce SQL queries. These queries are generated by the LLM model using the stored information and subsequently refined by Waii's query compiler/optimizer to produce the final query.

Network Access Requirements

  • Database Access: Waii requires access to the customer's database systems (e.g., Snowflake, Postgres).
  • LLM Services: Utilizes LLM services (e.g., OpenAI, Anthropic) for query generation.

Network Access for Hybrid Deployments

Instead of giving Waii access to the database systems, it is possible to push that information to Waii instead. This makes it possible to gain fine grained control over what information Waii is using as well as enable situation where there is no real database environment present.

In this deploymennt the only outbound connection Waii uses is:

  • LLM Services: Utilizes LLM services (e.g., OpenAI, Anthropic) for query generation.

Getting Started with Waii SaaS

No additional setup is required to begin using Waii SaaS. You can start by adding a new database connection.

Add a New Database Connection

For detailed instructions on how to add a new database connection, please refer to the Adding a Database Connection documentation.