# Make semantic layer AI friendly

## 1. Open the virtual table

![Edit Virtual Table for transactions: no description, and a query selecting raw columns from public.orders](https://quill.co/bi-tool/semantic-layer-open.webp "quill.co/dashboards")

## 2. Give columns business names

![The query editor with aliases (category AS product_line, status AS order_status, amount AS order_total_usd, created_at AS ordered_at), run with the renamed columns in the results](https://quill.co/bi-tool/semantic-layer-aliases.webp "quill.co/dashboards")

## 3. Describe the business logic

![The transactions description: revenue is the sum of order_total_usd for completed orders, and refunded and processing orders never count](https://quill.co/bi-tool/semantic-layer-description.webp "quill.co/dashboards")

## 4. Ask the agent

![Your app's chat asked to break down monthly revenue by product line: the agent's stacked Monthly Revenue by Product Line chart counts only completed orders](https://quill.co/bi-tool/semantic-layer-agent.webp "yourapp.com/chat")
