cancel
Showing results for 
Search instead for 
Did you mean: 
Generative AI
Explore discussions on generative artificial intelligence techniques and applications within the Databricks Community. Share ideas, challenges, and breakthroughs in this cutting-edge field.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

lewissolarin
by New Contributor
  • 464 Views
  • 3 replies
  • 0 kudos

Databricks app calling Genie API has empty data array

I have a Databricks app that makes calls to Genie API, it successfully returns a response containing the text response and the generated SQL query. However, the actual result of the SQL query is missing, in the result object, there is the metadata fo...

  • 464 Views
  • 3 replies
  • 0 kudos
Latest Reply
SteveOstrowski
Databricks Employee
  • 0 kudos

Hi @lewissolarin,The behavior you are seeing, where data_array is None and external_links is empty, is expected at a certain stage of the Genie API workflow. The Genie API uses the EXTERNAL_LINKS disposition for returning query results, which means d...

  • 0 kudos
2 More Replies
Ale_Armillotta
by Contributor III
  • 347 Views
  • 1 replies
  • 1 kudos

Resolved! Voice Interface for Genie via Azure AI Foundry – 400 Bad Request with Cross-Subscription Setup

Hi everyone,I'm building a voice-enabled solution on Azure AI Foundry that allows users to interact with Genie using speech instead of text. The architecture involves exposing a Genie Space as a tool within Foundry, which works perfectly in my own en...

  • 347 Views
  • 1 replies
  • 1 kudos
Latest Reply
Ale_Armillotta
Contributor III
  • 1 kudos

I found the issues.the resources were deployed into different tenant and subscriptions. Seems now it's possible only to autentificate with PAT and not with other auth. So for now I can use only my account and not a Service Principal

  • 1 kudos
kdroz
by New Contributor
  • 327 Views
  • 1 replies
  • 1 kudos

Resolved! Genie spaces - instructions

Hi all,I'm experimenting with Databricks Genie, I have a setup where Genie is based on a Metrics View. In the Metrics View, we have multiple sales related measures and different kinds of revenue measures. Is anyone aware, if there is an option to add...

  • 327 Views
  • 1 replies
  • 1 kudos
Latest Reply
Sravani-Vadali
Databricks Employee
  • 1 kudos

Hello! Yes, this is possible! You can add this to the Instructions Section of your Genie Space. Here's an example: When users ask about "revenue" without specifying which type, always ask for clarification about which revenue measure they want: Total...

  • 1 kudos
kcailabs
by New Contributor
  • 514 Views
  • 1 replies
  • 1 kudos

Resolved! Running Into Erroneous "Databricks Connected" Messages with Claude Desktop

When I try to connect Databricks via the connector that is now available within Claude Desktop to a genie space I have available (which is just the default test one), Databricks appears to say that it connects successfully, but it never actually work...

kcailabs_1-1763354494688.png kcailabs_0-1763354486166.png
  • 514 Views
  • 1 replies
  • 1 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 1 kudos

Greetings @kcailabs , Thanks for sharing the screenshots—this helps. From what I can see, Claude shows a “Successfully connected to Databricks” toast while the Databricks connector still displays “Disconnected,” and the Server URL entered is just a p...

  • 1 kudos
GunaR
by New Contributor III
  • 2242 Views
  • 11 replies
  • 1 kudos

RLS in Genie Space

I am developing a Conversational BI Solution using Genie. There are users from different roles and we need to restrict the rows returned based on the user's role. Typically RLS. I understand from documentation Genie leverage the RLS setup on the Unit...

  • 2242 Views
  • 11 replies
  • 1 kudos
Latest Reply
CharlotteMarti2
New Contributor III
  • 1 kudos

You can implement RLS in Genie without adding users to Databricks by passing a user identifier with each API call and having your queries filter rows based on that ID. Typically, you’d set up parameterized queries or session variables that enforce ro...

  • 1 kudos
10 More Replies
hammad
by New Contributor
  • 7210 Views
  • 3 replies
  • 0 kudos

How can we serve Genie as an endpoint model like RAG?

Is there any way to serve genie bot as a endpoint model like we serve RAG models. So we can access the genie bot outside the genie space?

  • 7210 Views
  • 3 replies
  • 0 kudos
Latest Reply
dkushari
Databricks Employee
  • 0 kudos

Hi @hammad, you can use AgentBricks - Multi Agent Supervisor to achieve the same result. You also use Genie as a Databricks-managed MCP tool. Depending on your situation, you can choose the option that suits you best.

  • 0 kudos
2 More Replies
Karthik_Karanm
by New Contributor III
  • 1763 Views
  • 1 replies
  • 1 kudos

Permission Denied for Genie Auto-Generated Service Principal on SQL Endpoint in Playground

Hi community,Use Genie in multi-agent systems | Databricks DocumentationI’ve developed a multi-agent Genie in Databricks and integrated it with vector indexes. The setup works fine during model logging and prediction. The system successfully register...

  • 1763 Views
  • 1 replies
  • 1 kudos
Latest Reply
dkushari
Databricks Employee
  • 1 kudos

Hi @Karthik_Karanm - Can you ensure to add the Genie in the resources as mentioned in the TODO of the cell. To enable automatic authentication, specify the dependent Databricks resources when calling mlflow.pyfunc.log_model(). TODO: If your Unity Ca...

  • 1 kudos
Dulce42
by New Contributor II
  • 6233 Views
  • 1 replies
  • 1 kudos

Resolved! API GENIE

Hi community!Yesterday I tried extract history chat from my genie spaces but I can't export chats from other users, I have the next error:{'error_code': 'PERMISSION_DENIED', 'message': 'User XXXXXXXX does not own conversation XXXXXXXX', 'details': [{...

  • 6233 Views
  • 1 replies
  • 1 kudos
Latest Reply
mark_ott
Databricks Employee
  • 1 kudos

Based on current documentation and available resources, exporting chat histories from Genie Spaces is restricted by ownership rules: only the user who owns the conversation can export that specific chat history, regardless of admin permissions or wor...

  • 1 kudos
Phani1
by Databricks MVP
  • 1853 Views
  • 2 replies
  • 1 kudos

Preserving Intelligence and Learning during Genie Space Migration

Hi Team,How can we migrate a Genie space to a higher environment while preserving its existing intelligence and learning, along with the catalog, to avoid recreating the same knowledge.Regards,Phani

  • 1853 Views
  • 2 replies
  • 1 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 1 kudos

Okay, maybe I’ll bring up an uncomfortable topic and ask why we should even bother trying to help you if you can’t dedicate five minutes of your time to let us know whether a suggestion or reply worked. We are spending our free time answering questio...

  • 1 kudos
1 More Replies
avinashk
by New Contributor III
  • 1511 Views
  • 4 replies
  • 5 kudos

Resolved! Databricks Genie API - Get conversation message

Hello team, I am trying to call the data bricks genie APIs from a frontend with NodeJS. I was able to test most of the APIs and was successful in getting response from all. But since yesterday afternoon, the below API GET /api/2.0/genie/spaces/{space...

  • 1511 Views
  • 4 replies
  • 5 kudos
Latest Reply
BS_THE_ANALYST
Esteemed Contributor III
  • 5 kudos

@avinashk thanks for the update! Glad it's resolved.All the best,BS

  • 5 kudos
3 More Replies
devipriya
by New Contributor III
  • 1813 Views
  • 1 replies
  • 3 kudos

Resolved! Model used by Genie

What’s the exact LLM powering Databricks Genie? If there’s more than one, which one mainly handles the responses?

  • 1813 Views
  • 1 replies
  • 3 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 3 kudos

Hi @devipriya ,Genie uses Azure OpenAI. You can find more details at below documentation entry: https://docs.databricks.com/aws/en/databricks-ai/databricks-ai-trust#partner-powered-vs-databricks-powered-features

  • 3 kudos
yvesbeutler
by New Contributor III
  • 2047 Views
  • 2 replies
  • 3 kudos

Resolved! Can Genie ask clarifying questions?

I am looking for a way to force Genie to ask questions when an instruction is not entirely clear. Are there specific options or instructions that I could use for this, or is it managed internally by Databricks and we cannot adjust it?I would like Gen...

  • 2047 Views
  • 2 replies
  • 3 kudos
Latest Reply
Sharanya13
Contributor III
  • 3 kudos

Thanks @Vinay_M_R for the detailed explanation. It's good to know that Genie can ask clarifying questions.

  • 3 kudos
1 More Replies
JYvesLimantour
by New Contributor III
  • 1814 Views
  • 2 replies
  • 1 kudos

Resolved! Compound keys on Genie

Is it just me or Genie´s generated SQL code failes to use composite keys -of the underlying related tables- as its default behavoir, regardless of the model having relationships declared explicitly.Sometimes I have fixed this scenario by using an ins...

  • 1814 Views
  • 2 replies
  • 1 kudos
Latest Reply
SP_6721
Honored Contributor II
  • 1 kudos

Hi @JYvesLimantour Genie struggles with composite keys by design. A few things that might help:Clearly define your primary and foreign key relationships in Unity Catalog.Add example SQL queries that include composite joins to give Genie better contex...

  • 1 kudos
1 More Replies
GabrielS
by New Contributor II
  • 10082 Views
  • 2 replies
  • 1 kudos

AI/BI Genie API

Hi everyone,I'm currently working on a project that implements a custom front end for Genie using the Genie API: https://docs.databricks.com/api/workspace/genie. So far, I’ve successfully built a working model that can send and receive messages.Howev...

  • 10082 Views
  • 2 replies
  • 1 kudos
Latest Reply
Walter_C
Databricks Employee
  • 1 kudos

Is there any possibility that workspace admin could have removed this permission to you? If you check the permissions on your side do you see yourself with at least Can View?

  • 1 kudos
1 More Replies
Muhammad_Umer
by New Contributor III
  • 14845 Views
  • 1 replies
  • 3 kudos

Genie Space

How can I export/share a Genie space across different workspace environments such as DEV,QA, and PROD etc.# Genie

  • 14845 Views
  • 1 replies
  • 3 kudos
Latest Reply
Rjdudley
Honored Contributor
  • 3 kudos

You would use Git Folders (Run Git operations on Databricks Git folders (Repos) | Databricks on AWS).  In my environment, it doesn't appear to be supported yet.  You can create a Genie space in a Git Folder at this time, but you get this alert: 

  • 3 kudos