Lab Activity 12:

Objective: Create, write, and deploy a Serverless LLM Endpoint, an Azure Function that calls Groq’s chat completions API and returns the model’s response. The Azure function should return an HTTP response displaying a generated response message in a web browser.


  • At the end of this assignment you should:
    • Produce two outputs that are similar to the below screengrabs, but with your own information. Upload each screengrab to Canvas.
  1. The first screengrab should display generated text with the Azure Function URL included in the web browser.

Browser showing Azure Function HTTP response with GPT-generated text about serverless functions and the Function URL in the address bar

  1. The second screengrab should display the Overview blade within the Azure portal of the Function App. Please make sure the screengrab displays the Azure Resource Group name, Subscription, and the Function URL as illustrated below.

Azure portal Function App Overview blade showing resource group name, subscription, and Function URL for the AI chatbot app