Skip to content

databricks-solutions/dais-2025-genai-hackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DAIS 2025 GenAI Hackathon

This README provides a quick overview of how to get started with your Databricks workspace and how get get access to the data for the Data for Good challenges.

Here are some links to additional guides and resources to help you get started:

  • Agent Library Integrations: This notebook provides a quick overview of how to integrate models from Databricks Model Serving with the popular LlamaIndex and LangGraph libraries, and addresses some common issues you may encounter.
  • Agent Development with Databricks: This notebook shows some of the tools, such as Tracing and Agent Evaluations, that help you build agents on Databricks.
  • Getting Started with Nimble's MCP Server: This notebook shows how to build and run simple agents that can use the tools accessible via Nimble's remote MCP server using LangChain and LlamaIndex.
  • Getting Started with Data for Good Datasets: This notebook provides a quick overview of how to get started with the datasets provided by our Data partners and start using them with AI tools.

1. Set Up Your Workspace and Get Data

Setting up your Workspace

Use the provided link to get your Databricks trial account. This will be provided on the day of the hackathon.

After clicking the link, click "Continue with Express Setup."

Express Setup

Provide your email to create an account. We recommend using a work email address if possible. Then complete the rest of the prompts to set up your workspace.

For more details, see the Databricks documentation.

Getting the Data

Our Data for Good partners are providing several datasets for you to use in this hackathon. To access the data, you will need to configure your Databricks workspace to use Delta Sharing and then provide your Delta Sharing ID to the hackathon organizers. This involves two steps:

  1. Granting USE PROVIDER privileges on your Unity Catalog metastore.
  2. Obtaining your Delta Sharing ID and sharing it with the hackathon organizers.

We will show two different approaches to accomplishing these steps. The first uses Databricks SQL and the second uses the Databricks UI. Use whichever approach you are comfortable with.

Option 1: Using Databricks SQL (Recommended)

  1. Click the "SQL Editor" tab in the left sidebar of your Databricks workspace.

Then click the "+" button to create a new query and select "Create new query."

SQL Editor

  1. Paste the following SQL code into the query editor:
GRANT USE PROVIDER ON METASTORE TO `account users`;
SELECT CURRENT_METASTORE();

and then click the "Run" button (the arrow icon). In the results section, copy the current_metastore() value. It will look like <cloud>:<region>:<uuid> (e.g. aws:us-west-2:19a84bee-54bc-43a2-87de-023d0ec16016)

Run Query

Share this value with the hackathon organizers via the provided Google form. The organizers will then share the data to your Databricks account. You can find it in the Delta Sharing section of your workspace's Catalog Explorer. See the Accessing the Data section for more details.

Option 2: Using the Databricks UI

To receive data via Delta Sharing, you will need USE PROVIDER privileges on your Unity Catalog metastore. To grant this, you can use the following approach:

  1. Navigate to the "Catalog" tab in the left sidebar of your Databricks workspace.

Navigate to Catalog

  1. Click the gear symbol ("Manage") and select "Metastore" from the dropdown menu.

Navigate to Metastore

  1. Click the "Permissions" tab and then click the "Grant" button.

Grant Permissions

  1. Check the box next to USE PROVIDER and select "All Account Users" from the "Principals" dropdown menu.

Use Provider

  1. Click "Grant" to set the privilege.

For more information, see the Delta Sharing documentation on reading shared data.

Obtain and Share your Delta Sharing ID

Once you have been granted USE PROVIDER privileges, you can obtain your Delta Sharing ID by clicking the "Copy" button in the "Delta Sharing" section of the "Settings" tab. You will then provide this ID to the hackathon organizers via a google form that will be provided on the day of the hackathon.

  1. Navigate to the "Catalog" tab in the left sidebar of your Databricks workspace and then click the "Delta Sharing" button.

Navigate to Delta Sharing

  1. Click your Databricks sharing organization name in the upper right, and select Copy sharing identifier.

Copy Sharing Identifier

  1. Share your Delta Sharing ID with the hackathon organizers using the provided Google form.

Accessing the Data

After we have received your Delta Sharing ID, we will share the data to your Databricks account. From the Catalog -> Delta Sharing menu, in the "Shared with me" tab, you will see the share. To use the data, click on the share name, and then click "Create catalog" next to the dataset you would like to use. This will create a new catalog in your Databricks workspace with the shared data, and you can start using it immediately.

Create Catalog

2. Getting Started with the Hackathon

There are many different ways to approach this hackathon. We will provide a few different examples and links to resources that you can use to get started.

While you are free to choose your own challenge/use case, we recommend pursuing one of the following if you are looking for inspiration. You can build both of these on data and resources provided by our Data for Good partners.

  • Community Wellness & Support Navigator: Create an agent system focused on improving individual and community well-being by making health and social support systems easier to navigate, from understanding benefits and health information to finding appropriate care pathways or resources. This could be combined with other data sources that might highlight community needs or real-time service availability, and with agents and tools to e.g. fill out forms or draft inquiries to agencies and resources. You might, for example, make an agent that helps with access to resources in a particular neighborhood or that analyzes gaps in resources and generates reports/communications for use by community advocates.
  • Accessible City & Travel Equity Agent: Create agents that promote inclusivity by helping individuals with particular accessibility needs discover and navigate cities and travel options. You might, for example, make an agent that finds/verifies accessible lodging/attractions and drafts inquiries or simulates booking steps or that plans detailed accessible routes and generates personalized itineraries based on the user's needs.

Demos and Examples

  • You will find some demo materials in your workspace. For example, the Build your first AI Agent notebook and Bakehouse Sales Starter Space Genie space both provide a great starting point for building your own agents in Databricks.
  • The Agent Library Integrations notebook provides a quick overview of how to integrate models from Databricks Model Serving with the popular LlamaIndex and LangGraph libraries, and addresses some common issues you may encounter. Using one of these frameworks can save you a lot of time and effort.
  • The Agent Development notebook provides a quick tour of some of the tools Databricks provides for building agents, such as MLflow tracing and Agent Evaluations.
  • For lower-code approaches, consider using AI/BI Genie Spaces and AI builder to build agents.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •