โ06-30-2024 07:37 PM
Hi
Is there any way to call a Genie space from a notebook and get the response ? Is there any API available?
#genie, #databricksgenie, #databricks_genie
โ07-01-2024 11:48 PM
Hi @MattB, Yes, indeed! You can call a Genie space from a notebook and get responses through available APIs.
The documentation provides more details on how to integrate Genie Spaces seamlessly into your workflows.
Happy querying!
โ07-02-2024 08:24 PM
Thanks for your response. I could not find any relevant content to integrate Genie into the workflow or on a notebook. Can you please be more specific
โ07-10-2024 02:41 AM
Hi @MattB, Unfortunately, there is no direct API or integration that allows you to call a Databricks Genie space from a notebook and get a response. Genie is a separate framework within Databricks that is designed for business users to interact with data using natural language, while notebooks are primarily used by data scientists and engineers to write code.
The key points are:
Genie Spaces and Notebooks are Separate Frameworks
Integrating Genie and Notebooks Requires Custom Development
In summary, while Genie and Notebooks are both part of the Databricks Platform, they are separate tools designed for different user personas. Directly calling a Genie space from a notebook is not currently supported by Databricks. Any integration would require custom development work on the part of the user.
โ07-10-2024 02:56 AM
To integrate a Genie space with a notebook, you would need to make HTTP requests from the notebook to the Genie API endpoints. This would require custom development and integration work.
Are there any examples or documentation available which provide further details on the HTTP requests involved here? Or any details of the Genie API endpoints in general?
โ07-10-2024 03:46 AM
Hi @jAAmes_bentley, There is no built-in integration or API provided by Databricks to directly call a Genie space from a notebook.
โ07-10-2024 02:37 AM
Hi @MattB, did you manage to get much further with this? We currently have the same question, but you are correct that there is no information (which I could find) about serving a Genie endpoint either on the link provided by @Kaniz_Fatma or on the model serving documentation.
โ07-19-2024 08:26 AM
Hi @MattB, you can still achieve this through custom development by making HTTP requests from the notebook to the Genie API endpoints.
โ08-16-2024 03:55 AM
Hi @Kaniz_Fatma, I too have a similar request. Your initial response was that there are no end points for Genie. However in your latest response, you have mentioned that we can achieve this through custom development. Can you please share sample code or point me to the documentation that describe Genie end points?
โ08-16-2024 04:16 AM
Quite good timing, I actually went to a Databricks Community event yesterday evening which featured a panel of Senior Solution Architects from Databricks. I raised this point with them and they confirmed that currently Genie has no endpoint, however an endpoint is coming "soon". They didn't clarify how soon "soon" is though!
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group