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
  • 30802 Views
  • 19 replies
  • 34 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
  • 30802 Views
  • 19 replies
  • 34 kudos
Latest Reply
Poorva21
New Contributor II
  • 34 kudos

This is an exciting step forward from Databricks! Looking forward to diving into the curriculum and exploring what's next in the world of data + AI! Thanks for sharing @Sujitha 

  • 34 kudos
18 More Replies
meetiasha
by New Contributor II
  • 4671 Views
  • 1 replies
  • 1 kudos

Advanced RAG Retrieval (Reranking, Hierarchical, etc) in Databricks

Issue with current documentation:I wish to perform advanced RAG using langchain, in Databricks. In the documentation, they tell how to use the vector endpoint url, and index stored in catalogs. But I could not find any advanced RAG algos that are eas...

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

Greetings @meetiasha , yes—there’s a gap between Databricks’ basic “vector endpoint + catalog index” examples and truly advanced RAG, so below is a step‑wise, LangChain‑first playbook you can run entirely on Databricks notebooks with local vector sto...

  • 1 kudos
karavyu1
by New Contributor II
  • 4267 Views
  • 1 replies
  • 1 kudos

GenAI Cookbook - how to add source documents to output and open pdf file on a page

Hello,I am implementing RAG solution as per Databricks cookbook. Review App is working, references are provided as text chunks.I need to build functionality to open pdf file on a specific page as a reference. Is there a way to change ReviewApp to ope...

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

You want your RAG solution (based on Databricks Cookbook) to display PDF files at specific pages as references in your Review App, rather than plain text chunks. You also wish to retrieve source documents from your serving endpoint, but your current ...

  • 1 kudos
neha89
by New Contributor II
  • 4335 Views
  • 1 replies
  • 0 kudos

Invoke Azure AI Search Endpoint through Databricks environment

Hi Team,Is there a possibility to invoke Azure AI Search Vector DB endpoint(external) in Databricks environment based on input data in Databricks table.Scenario: Client-Specific documents are already embedded in Azure AI Search Vector DB. Is there an...

  • 4335 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

Yes, it is possible to invoke an Azure AI Search Vector DB endpoint from within a Databricks environment—allowing you to leverage your existing Azure resource for client-specific document retrieval, without needing to create a new vector database in ...

  • 0 kudos
vishesh_berera
by New Contributor III
  • 6039 Views
  • 6 replies
  • 3 kudos

Resolved! How to integrate genie in with databricks apps

How to integrate genie in with databricks - data apps i want a chatbot that behaves like genie

  • 6039 Views
  • 6 replies
  • 3 kudos
Latest Reply
dsuser
New Contributor II
  • 3 kudos

Thank you for the code. However, when user asks a follow up question, app responds with irrelevant data. The context or history is not preserved. How to handle this?

  • 3 kudos
5 More Replies
albert_herrando
by New Contributor
  • 1120 Views
  • 1 replies
  • 0 kudos

Deploying HuggingFace LLM model with MLflow task llm/v1/chat into Databricks

Hello,I am currently trying to deploy a HuggingFace LLM model to Databricks with the MLflow task llm/v1/chat in order to use it as a chat.I have tried several models like:TinyLlama/TinyLlama_v1.1 · Hugging FaceBSC-LT/salamandra-7b-instruct · Hugging ...

albert_herrando_0-1747401869742.png albert_herrando_1-1747401929720.png
Generative AI
Chat
Generative AI
HuggingFace
llm
  • 1120 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

Deploying HuggingFace LLM models to Databricks using MLflow’s llm/v1/chat task sometimes results in unexpected chat behaviors, usually due to prompt/template mismatches, model configuration issues, or pipeline setup requirements. Here’s a direct answ...

  • 0 kudos
lucaperes
by New Contributor III
  • 4188 Views
  • 1 replies
  • 0 kudos

Issue in creating endpoint for quantized gguf model with llama-cpp-python

Hello, Databricks Community,I am experiencing an issue while trying to serve a quantized model in gguf format using Databricks serving with the llama-cpp-python library.The model is registered using MLflow and pyfunc on Unity. The model loads without...

  • 4188 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

The error code 132 typically means an illegal instruction was encountered, often caused by a CPU incompatibility with the code being executed—especially with libraries that use SIMD or hardware acceleration (e.g., llama-cpp-python, which is often com...

  • 0 kudos
Himali_K
by New Contributor II
  • 4163 Views
  • 1 replies
  • 0 kudos

Not able to invoke model external model

I have followed below steps1) Created serving end point by for external model gpt-4-turbo and providing azure AI endpoint and key2) Now using langchain,  i am trying to connect and invoke message from model in notebook model = ChatDatabricks(target_u...

  • 4163 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

Based on your description, you are encountering a 500 Server Error when trying to use the Langchain ChatDatabricks integration with a Databricks Serving Endpoint connected to an external OpenAI GPT-4 Turbo model on Azure. This error usually indicates...

  • 0 kudos
gendg
by New Contributor
  • 4558 Views
  • 1 replies
  • 0 kudos

Mlflow.evaluation fails to generate score

The execution of code stucks when evaluation of data start.  eval_df = pd.DataFrame(    {        "inputs": [            "What is MLflow?",            "What is Spark?",        ],        "ground_truth": [            "MLflow is an open-source platform f...

Generative AI
Databricks
GenAI
ML
mlflow
  • 4558 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

The issue described—a Databricks notebook getting "stuck" during the evaluation phase using mlflow.evaluate—is most likely related to environment setup, model compatibility, or limitations with the mlflow.pyfunc.log_model and the evaluation utilities...

  • 0 kudos
SandipCoder
by New Contributor II
  • 4991 Views
  • 1 replies
  • 0 kudos

I need a sample code or process which will help us to dynamically select the prompt template

We need a sample code or process which will help us to dynamically select the prompt template based on the prompt given as an input through the model legacy serving endpoint

Generative AI
GenAI
rag
  • 4991 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

To dynamically select a prompt template in Databricks based on the input prompt received through a legacy model serving endpoint, you can implement a Python function that maps incoming prompts to specific templates. This often involves using conditio...

  • 0 kudos
narenderkumar57
by New Contributor
  • 5460 Views
  • 1 replies
  • 0 kudos

How to perform combined search on structured and unstructured data in databrick using RAG or other

I created a RAG application in databricks which performs the following steps:1. Extract text from PDF files2. Prepare embeddings on extracted text and create vector search index3. Create a LLM model and served the model which can answer question base...

  • 5460 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

You can achieve combined retrieval across both PDF-extracted unstructured data and multiple columns from structured Delta tables in Databricks, but there are important considerations and available patterns to optimize this workflow for your RAG appli...

  • 0 kudos
SandipCoder
by New Contributor II
  • 3953 Views
  • 1 replies
  • 0 kudos

Issue with Multi agent supervisor based agentic framework

I  have three agents in my multi agent framework (code attached) Supervisor : This is the main controller    "Genie":           #this is a genai agent    "Coder":          #this is a re-act agent created on the fly    "Weather":      #this is an exis...

  • 3953 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

Your multi-agent framework has several issues affecting agent iteration control and error handling. Here’s a lined explanation and practical suggestions for each problem: Agents not stopping at one iteration Agents consistently reaching the max iter...

  • 0 kudos
MattB
by New Contributor III
  • 4199 Views
  • 1 replies
  • 0 kudos

AI/BI Genie - Components

I am almost certain that AI/BI Genie is using Azure OpenAi under the hood. Does anyone knows if Langchain has been used too ?

  • 4199 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

AI/BI Genie is confirmed to use Azure OpenAI under the hood, as it leverages generative AI models for translating natural language into analytical queries and producing business intelligence insights. Additionally, there is strong evidence that Langc...

  • 0 kudos
Ulfzerk
by New Contributor
  • 4067 Views
  • 1 replies
  • 1 kudos

Custom sentence transformer for indexing

Hi! i would like to use my own sentence transformer to create a vector index. It is not a problem using mlflow sentence-transformer flavour, it works fine with: mlflow.sentence_transformers.log_model( model, artifact_path="model", signatu...

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

To use a custom MLflow pyfunc model for sentence-transformers with preprocessing, you need to comply with the expected interface of mlflow.pyfunc.PythonModel, especially the predict method. The method signature, data handling, and serialization are k...

  • 1 kudos
smferro54epam
by New Contributor II
  • 373 Views
  • 1 replies
  • 0 kudos

Resolved! None of the Connect to the custom MCP server examples work

hi! I'm following through this documentation >> https://docs.databricks.com/aws/en/generative-ai/mcp/custom-mcp?language=Agent+code+%28service+principal%29 I have successfully deployed the app in Databricks and can use it from the playground and from...

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

Greetings @smferro54epam , the errors point to two distinct issues: your custom MCP app expects OAuth-based Databricks credentials (not a raw bearer token), and the URL you pass to the HTTP transport must be a fully qualified https URL to the app’s /...

  • 0 kudos
Maylin
by New Contributor
  • 4733 Views
  • 1 replies
  • 0 kudos

Best Practices for Multilingual Model Training: Single vs. Multi-Model for Translation

Hello everyone,I’m working on a translation project involving documents up to 100 pages long, in 17 different languages, and I'm looking for the best approach to achieve high-quality translations in this multilingual context.Single model vs. multi-mo...

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

Greetings @Maylin ,  A single many-to-many multilingual model, fine-tuned jointly across your 17 languages, is usually the best trade-off between quality, scalability, and operational simplicity; combine it with lightweight adapters to preserve quali...

  • 0 kudos

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now