Relay
ChangelogDocsPricing
Buy
Documentation
Getting StartedQuery Editor AIQuery Plan ExplanationsAI Chat
Relay Assistant

AI Chat

Ask questions about your database using the AI chat panel.

Overview

The AI chat panel is a conversational interface for interacting with your database using natural language. Open it by clicking the AI tab in the right sidebar.

What You Can Do

  • Ask questions about your data: "How many users signed up this week?"
  • Generate queries from descriptions: "Write a query to find duplicate emails"
  • Get explanations of existing queries: paste a query and ask what it does
  • Debug issues by describing unexpected results

Schema Context

The AI chat is schema-aware. It can see:

  • Your database schema and current query
  • Table and collection names
  • Column names and types

Use @table mentions to reference specific tables in your prompt for more targeted responses.

Query Actions

When the AI generates a query in chat, you can:

  • Copy the query to clipboard
  • Apply it directly to the active query editor tab

Context Chips

At the bottom of the chat, context chips show what information is available to the AI:

  • Connection — current database connection details
  • Document Samples — sample documents (MongoDB)
  • Schema — table and column definitions
  • Structure — database structure overview
  • Document Structure — document field types (MongoDB)
  • Indexes — index definitions

These help the AI generate accurate, context-aware responses for your specific database.

Query Plan Explanations

Use AI to understand and optimize your query execution plans.

Table View

Browse your data in a spreadsheet-like table view.

On this page

OverviewWhat You Can DoSchema ContextQuery ActionsContext Chips
Relay

by builds.org

The database client you deserve.

Stay in the loop.

Product

  • Features
  • Download
  • Changelog
  • Documentation

Support

  • Purchase License
  • Manage License
  • Recover License
  • Contact Us
© 2026 builds.org. All rights reserved.
Privacy PolicyTerms of ServiceLicense AgreementCookie Policy