Skip to content

Instantly share code, notes, and snippets.

@paulyuk
Last active November 15, 2024 17:43
Show Gist options
  • Save paulyuk/316cf37d31c08ddb6df38e905c0b3d76 to your computer and use it in GitHub Desktop.
Save paulyuk/316cf37d31c08ddb6df38e905c0b3d76 to your computer and use it in GitHub Desktop.
Samples - .NET Conf 2024 Building and Scaling Intelligent Apps

Samples for Building and Deploying Cloud Native Intelligent Apps

.NET Conf 2024

by Scott Hunter @coolcsh and Paul Yuknewicz @paulyuk

Here are all the demos shown in our session with full repos, azd templates, and a few notes. Enjoy, and let us know what you think! -- Scott and Paul

Part 1 - Aspire 9 & Functions

Part 2 - AI and Advanced Functions

RAG chat your data

Sample: https://github.com/Azure-Samples/azure-functions-openai-aisearch-dotnet

AZD:

azd init --template azure-functions-openai-rag-aisearch-dotnet8

Key features:

  • Azure Functions OpenAI Bindings Extension
  • AI Search Vector Db
  • OpenAI LLM

ChatBots with memory

Sample: https://github.com/paulyuk/azure-functions-assistants-dotnet8/tree/skilling

AZD:

azd init --template azure-functions-openai-assistants-dotnet8

Key features:

  • Azure Functions OpenAI Bindings Extension
  • Skilling Assistants
  • OpenAI Function Calling

Skilling Assistants, Agenting, "Function Calling"

Sample: https://github.com/paulyuk/azure-functions-assistants-dotnet8/blob/skilling/app/AssistantSkills.cs#L24

AZD:

azd init --template intelligent-pdf-summarizer-dotnet

Key features:

  • Azure Functions OpenAI Bindings Extension
  • Skilling Assistants
  • OpenAI Function Calling
  • System.Math.Tensors

Chaining and orchestrating w/ Document Intelligence

Sample: https://github.com/Azure-Samples/Intelligent-PDF-Summarizer-Dotnet

AZD:

azd init --template azure-functions-openai-assistants-dotnet8

Key features:

  • Durable Functions
  • Functions Blob Trigger
  • Document Intelligence
  • Azure Functions OpenAI Bindings Extension
  • OpenAI LLM

This demo chains 3 tasks using Durable Functions for reliable, retryable function calling for each step. The steps are:

  1. Ingest blob data with a BlobTrigger
  2. Perform Document Intelligence to extract text from PDF
  3. Summarize document using Azure OpenAI LLM completions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment