What problem does it solve?
Enable non-SQL users and analysts to explore Unity Catalog data and get accurate SQL-backed answers without writing queries manually, and simplify creation, cloning, and migration of curated Genie Spaces across Databricks workspaces.
Core Features & Use Cases
- Space management: Idempotent create/update, get, list, delete, export, and import of Genie Spaces including serialized_space handling for full-config migrations.
- Conversational querying: Ask natural language questions and follow-ups via the Conversation API to receive generated SQL, results, and context-aware responses.
- Migration & remapping: Export serialized_space, perform catalog name remapping, and import or create_or_update spaces in target workspaces for dev/staging/prod workflows.
Quick Start
Use manage_genie(action="create_or_update", display_name="Sales Analytics", table_identifiers=["my_catalog.sales.customers","my_catalog.sales.orders"], sample_questions=["What were total sales last month?"]) to create a new Genie Space and then ask_genie(space_id="your_space_id", question="What were total sales last month?").