Skip to content

jcbendernh/AIFoundryGenie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

AIFoundryGenie

AIFoundryGenie is a Python-based framework designed to facilitate the creation, management, and execution of AI agents that are connected to a Databricks Genie Space.

Overview

User Input → Script → Azure AI Agent → Databricks Genie → Database Query → Results → Formatted Response → User

Prerequisites

Before using AIFoundryGenie, ensure you have:

Databricks Setup

  • Access to a Databricks workspace
  • Genie Space configured with appropriate data sources
  • Proper permissions to query data through Genie

Summary

This repository includes:

  • sample_agent_adb_genie.py - A sample AI agent that:
    • Connects to Databricks Genie through Azure AI Foundry
    • Creates an AI agent with access to Genie's data query capabilities
    • Implements a function tool (ask_genie) to query Databricks Genie spaces
    • Demonstrates end-to-end conversation flow with data-driven responses
    • Shows how to authenticate and establish connections between Azure AI Foundry and Databricks
  • ask_agent.py - A command-line interface tool that:
    • Provides interactive chat with an existing Azure AI Foundry agent
    • Supports both single-question mode and continuous conversation mode
    • Automatically sets up Databricks Genie integration for data queries
    • Handles authentication and connection management transparently
    • Enables terminal-based agent interactions for testing and development

Getting Started

I recommend cloning this repo locally and then using Visual Studio Code with the Azure AI Foundry extension installed for the best development experience.

Here is some sample code to clone locally.

git clone https://github.com/jcbendernh/AIFoundryGenie.git  C:\VSCode\AIFoundryGenie

This repo based off of the Python scripts for Azure-Samples / AI-Foundry-Connections

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages