Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Exercise 02 - Implement function calling to integrate with external APIs

Scenario

Bringing our own data is one great way to enhance GPT models in Azure OpenAI, allowing them to answer questions specific to our circumstances. Another way to customize responses and enhance system capabilities involves function calling, something we can implement using the Semantic Kernel library. In this exercise, you will create a solution allowing end users to query data from Azure SQL Database using natural language.

Objectives

After you complete this lab, you will be able to:

  • Implement hotel bookings history endpoints against Azure SQL Database using C#
  • Create Semantic Kernel plugins to enable translation of natural language into SQL queries
  • Incorporate API results into the Streamlit application

Duration

  • Estimated Time: 60 minutes

Table of contents