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

Sujitha
by Databricks Employee
  • 33858 Views
  • 22 replies
  • 46 kudos

Databricks Announces the Industry’s First Generative AI Engineer Learning Pathway and Certification

Today, we are announcing the industry's first Generative AI Engineer learning pathway and certification to help ensure that data and AI practitioners have the resources to be successful with generative AI. At Databricks, we recognize that generative ...

Screenshot 2024-01-24 at 11.32.01 PM.png
  • 33858 Views
  • 22 replies
  • 46 kudos
Latest Reply
Darshan137
New Contributor II
  • 46 kudos

Dear Certifications TeamI have completed full Generative AI Engineering Pathway, so I received module wise knowledge badge but I didn't received the overall certificate which mentioned in description which is Generative AI Engineer with one Star. Req...

  • 46 kudos
21 More Replies
mansi26
by Databricks Partner
  • 256 Views
  • 2 replies
  • 2 kudos

Resolved! Request for blog publishing access

Hi,I would like to request access to publish blogs on the Databricks Community. I am a seasoned SME in Generative AI, with extensive hands-on experience in this domain. I have actively worked on various GenAI use cases and regularly write about emerg...

  • 256 Views
  • 2 replies
  • 2 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 2 kudos

Hi @mansi26 ,Pleasure to meet you. You can publish your articles without asking for consent in community articles section:https://community.databricks.com/t5/community-articles/bd-p/Knowledge-Sharing-Hub 

  • 2 kudos
1 More Replies
GunaR
by New Contributor III
  • 3073 Views
  • 12 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...

  • 3073 Views
  • 12 replies
  • 1 kudos
Latest Reply
Prathusha_
New Contributor II
  • 1 kudos

Hi Guna, I have been trying to implement the same in my environment. Do you have any luck?

  • 1 kudos
11 More Replies
martkev
by New Contributor III
  • 2808 Views
  • 1 replies
  • 0 kudos

Resolved! Error: "Invalid model name" in Databricks AI Gateway when setting up Vertex AI endpoint

Hi everyone,I'm trying to set up a new serving endpoint in Databricks using Google Cloud Vertex AI as the provider. I want to route it to claude-opus-4-6.However, as soon as I try to create it, I get the following UI error (see screenshot):"Invalid m...

martkev_0-1775828309497.png
  • 2808 Views
  • 1 replies
  • 0 kudos
Latest Reply
anuj_lathi
Databricks Employee
  • 0 kudos

Hi @martkev -- good news: your model name is correct. The Vertex AI model ID for Claude Opus 4.6 is indeed claude-opus-4-6 (per Anthropic's official documentation). The issue is on the Databricks side -- the UI enforces an internal allowlist of recog...

  • 0 kudos
trickywhitecat
by New Contributor
  • 502 Views
  • 1 replies
  • 0 kudos

Petition to update your documentation about inferencing LLMs and standardize LLM response format

TL;DRInconsistent & Undocumented Response Format: Contrary to Databricks documentation, enabling thinking.type for Gemini 2.5 Flash changes the ChatCompletion content field from a standard string to a list of dictionaries, breaking expected behavior....

  • 502 Views
  • 1 replies
  • 0 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 0 kudos

Hey @trickywhitecat , You're right that when thinking.type is enabled for Gemini 2.5 Flash on a Databricks serving endpoint, the content field comes back as a list of dictionaries instead of a plain string. That breaks the expected OpenAI ChatComplet...

  • 0 kudos
samuel86
by New Contributor III
  • 833 Views
  • 1 replies
  • 1 kudos

Resolved! ai_query and cached tokens

Is ai_query actually able to use OpenAI's cached tokens? I was not unable to prove it. The response object from ai_query does not contain the raw response, and when I re-run an identical request via OpenAI SDK (identical model, settings etc.) and exa...

Generative AI
ai_query
  • 833 Views
  • 1 replies
  • 1 kudos
Latest Reply
anuj_lathi
Databricks Employee
  • 1 kudos

Great question -- this is a nuanced topic because there are two layers involved: Databricks' proxy layer and OpenAI's caching mechanism. Short answer: No, ai_query does not currently support OpenAI's prompt caching. 1. ai_query doesn't expose token u...

  • 1 kudos
srijan1881
by New Contributor
  • 955 Views
  • 3 replies
  • 0 kudos

Tracing through model serving endpoint

 i have deployed a code running on langgraph through model serving endpoint. I want to trace the logs using ml flow and i want to trace logs in the experiment whenever a user hits the serving endpoint. I have defined both of them in my codemlflow.set...

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

Hi @srijan1881, The behavior you are seeing is expected when using a manually created model serving endpoint rather than one deployed through the Databricks Agent Framework. Here is a breakdown of why traces are not appearing and how to resolve it. U...

  • 0 kudos
2 More Replies
uhuru_furuta
by Databricks Partner
  • 1063 Views
  • 4 replies
  • 0 kudos

Resolved! Genie integration in Dashboards fails with "GenericChatCompletionServiceException" (Free Edition)

I am experiencing a persistent error when using Genie Space integration within a Databricks Dashboard (v3/Lakeview). While Genie works perfectly as a standalone Space, it consistently fails when invoked via the Dashboard sidebar.Environment:Edition: ...

  • 1063 Views
  • 4 replies
  • 0 kudos
Latest Reply
emma_s
Databricks Employee
  • 0 kudos

Yes 100%, any user would need to have select permissions on the table that the Genie Space is created on top of.

  • 0 kudos
3 More Replies
excavator-matt
by Contributor III
  • 5299 Views
  • 4 replies
  • 6 kudos

Managed MCP Server for Visual Studio Code and GitHub Copilot?

Hi!I am starting to explore the new managed Model Context Protocol (MCP) server with GitHub Copilot. I have successfully configured it to use the DBSQL MCP Server that you currently find in AI/ML -> Agents -> MCP Servers. As also shown in this post i...

Generative AI
copilot
MCP
OAuth
visual studio code
  • 5299 Views
  • 4 replies
  • 6 kudos
Latest Reply
SteveOstrowski
Databricks Employee
  • 6 kudos

Hi excavator-matt, Thanks for the follow-up and glad to hear you got Option C (PAT-based) working with Copilot and VSCode, and that you have moved to Claude Code with the official skills. Regarding the issues with Options A and B: Option A (OAuth U2M...

  • 6 kudos
3 More Replies
Dale15PluCerts
by New Contributor II
  • 425 Views
  • 1 replies
  • 0 kudos

Ethical Data Governance

Title: Why Responsible AI Needs to Be a First‑Class Engineering Practice (Not an AfterthoughAI teams are moving faster than ever — but the industry is learning that speed without governance creates real downstream risk. Most “Responsible AI” failures...

  • 425 Views
  • 1 replies
  • 0 kudos
Latest Reply
Dale15PluCerts
New Contributor II
  • 0 kudos

Appreciate anyone who reads through this. I’m curious how teams are implementing governance controls in Databricks today — things like automated validation, model documentation, or lineage tracking through Unity Catalog. If you’ve built guardrails th...

  • 0 kudos
FreshBrewedData
by New Contributor II
  • 1093 Views
  • 4 replies
  • 3 kudos

Testing ai_parse_document vs PyMuPDF for PDF extraction

I’ve been experimenting with the Databricks AI functions and recently ran a small test extracting structured information from a PDF document.My initial approach was to use ai_parse_document to extract the text from the PDF.While the function appeared...

  • 1093 Views
  • 4 replies
  • 3 kudos
Latest Reply
anuj_lathi
Databricks Employee
  • 3 kudos

Great observations — this is a pattern several of us have run into. The short answer is: your PyMuPDF + ai_query workflow is the right approach for digitally-born PDFs, and here's why. Why aiparsedocument can get names/identifiers wrong ai_parse_docu...

  • 3 kudos
3 More Replies
JoaoPigozzo
by New Contributor III
  • 1026 Views
  • 1 replies
  • 1 kudos

Resolved! Claude Code User Usage Tracking

I am using Databricks Model Serving as a proxy to connect Claude Code. I established the connection through Integrate coding agents (Connect coding agents to Databricks) by generating the environment configuration:  { "env": { "ANTHROPIC_MODEL": "dat...

  • 1026 Views
  • 1 replies
  • 1 kudos
Latest Reply
Ashwin_DSA
Databricks Employee
  • 1 kudos

Hi @JoaoPigozzo, After some investigation, I found that when you use Databricks Model Serving as a proxy for Claude Code, what you see in system.billing.usage is expected. That table is is designed for cost attribution by SKU / endpoint, not per‑user...

  • 1 kudos
brahaman
by New Contributor II
  • 1536 Views
  • 2 replies
  • 0 kudos

Resolved! DatabricksVectorSearch seems to crash when served

Hey y'all !So I'm experimenting with the Databricks' DatanircksVectorSearch class in Python to serve as a tool that can be used by an agent. When I run it on a notebook, I get the following error:"[NOTICE] Using a notebook authentication token. Recom...

  • 1536 Views
  • 2 replies
  • 0 kudos
Latest Reply
ZD
New Contributor III
  • 0 kudos

@Louis_Frolio  Are there audit logs or visibility into which service principal is being used and what access it has?Another question: With automatic authentication passthrough, do we still need to set DATABRICKS_HOST and DATABRICKS_TOKEN as environme...

  • 0 kudos
1 More Replies
the_peterlandis
by New Contributor III
  • 701 Views
  • 1 replies
  • 1 kudos

Resolved! Databricks Apps Streaming issue

I have .NextJS Databricks Apps with streaming enabled by setting "stream:true" in the JSON body which tells serve to return a streaming response (SSE format).  Now this works just fine when I run the app locally via npm run dev but once I deploy the ...

  • 701 Views
  • 1 replies
  • 1 kudos
Latest Reply
the_peterlandis
New Contributor III
  • 1 kudos

What resolved this issue is to set the following headers listed below.  Content-Type: "text/event-stream"Connection: "keep-alive"Transfer-Encoding: "chunked"These headers help prevent proxy interference:Connection: "keep-alive" explicitly tells proxi...

  • 1 kudos
souravg
by New Contributor
  • 691 Views
  • 2 replies
  • 1 kudos

Resolved! Feedback not showing up in Genie from Copilot Studio Genie Agent

Hi,We've created an Agent using Copilot Studio for Genie and integrated with Teams Channel.The feedback there is working and we can see the reactions in the Copilot Studio Analytics.But the feedback is not going to the actual genie space, neither the...

  • 691 Views
  • 2 replies
  • 1 kudos
Latest Reply
Ashwin_DSA
Databricks Employee
  • 1 kudos

Hi @souravg, @Ale_Armillotta is right. At the moment, Genie only records feedback (thumbs up/down, "Fix it", comments) when it’s given directly in the Genie UI. The public Genie Conversation APIs that Copilot Studio/Teams use don’t expose any endpoin...

  • 1 kudos
1 More Replies
Jayachithra
by New Contributor II
  • 841 Views
  • 1 replies
  • 1 kudos

Resolved! How to get MLflow OpenAI autolog traces from PySpark mapInPandas workers (and some pitfalls)

ContextI'm running an LLM pipeline on Databricks that distributes OpenAI API calls across Spark workers via mapInPandas. Getting mlflow.openai.autolog() to work on workers required solving three undocumented issues. Sharing here since I couldn't find...

  • 841 Views
  • 1 replies
  • 1 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 1 kudos

Greetings @Jayachithra , I did some digging and came up with some helpful tips/hints to help you along.   On Issue 1 (explicit MLflow context): expected behavior once you realize that mapInPandas spawns isolated Python worker processes, not threads. ...

  • 1 kudos