Skip to content

Commit 74eb323

Browse files
authored
3 flip sk to maf (#4)
* corrected links * removed migrations * inc * mocks * unit tests pass * plugged in configuration
1 parent d52f9bd commit 74eb323

135 files changed

Lines changed: 345 additions & 8148 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 12 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Semantic Kernel C# Quick-Start
1+
# Agent Framework C# Quick-Start
22
**Azure Bicep Infrastucture as Standalone Landing Zone**
33

44
[![Landing Zone IaC](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/gtc-agent-standalone-iac.yml/badge.svg)](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/gtc-agent-standalone-iac.yml)
@@ -7,30 +7,17 @@
77

88
[![Web & API & SQL CI/CD](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/gtc-agent-standalone-web-api-sql.yml/badge.svg)](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/gtc-agent-standalone-web-api-sql.yml)
99

10-
Microsoft Agent Framework Quick-start is a .NET Web API CRUD Microservice solution with Blazor Copilot-ish Chat client that demonstrates the most basic use cases of the Microsoft Semantic Kernel in a Clean Architecture C# Microservice. This microservice allows you to persist the following Azure Open AI services to SQL Server, so you can replay messages and maintain history of your interaction with AI.
10+
Microsoft Agent Framework Quick-start is a 100% Microsoft, enterprise-ready starter kit for building modern, agentic applications with C#, Blazor (Fluent UI), and ASP.NET Core Web API. This solution demonstrates how to use the Microsoft Agent Framework to create a Copilot-style chat client, fully integrated with SQL Server for persistent storage of authors, chat sessions, and messages—all orchestrated through a clean architecture pattern.
1111

12-
![Microsoft Agent Framework Quick-start Blazor](./docs/AgentFramework-Quick-start-Blazor-Side-by-Side.png)
13-
14-
Semantic Kernel is an SDK that integrates Large Language Models (LLMs) like OpenAI, Azure OpenAI, and Hugging Face with conventional programming languages like C#, Python, and Java. Semantic Kernel allows developers to define plugins that can be chained together in just a few lines of code.
12+
With built-in tools (plugins) for querying and managing your own data, automated Azure infrastructure (Bicep), and seamless CI/CD (GitHub Actions), this repo provides everything you need to build, deploy, and extend real-world AI-powered apps on a traditional .NET stack—no JavaScript, no raw HTML, just pure Blazor and Fluent UI. Perfect for teams looking to modernize with AI while leveraging familiar, pragmatic enterprise patterns.
1513

16-
[Introduction to Semantic Kernel](https://learn.microsoft.com/en-us/semantic-kernel/overview/)
14+
![Microsoft Agent Framework Quick-start Blazor](./docs/AgentFramework-Quick-start-Blazor-Side-by-Side.png)
1715

18-
[Getting Started with Semantic Kernel](https://learn.microsoft.com/en-us/semantic-kernel/get-started/quick-start-guide?pivots=programming-language-csharp)
16+
Agent Framework is an SDK that integrates Large Language Models (LLMs) like OpenAI, Azure OpenAI, and Hugging Face with conventional programming languages like C#, Python, and Java. Agent Framework allows developers to define plugins that can be chained together in just a few lines of code.
1917

20-
This microservice supports:
21-
* Chat Completions: Generate responses based on user input, making it useful for chatbots and virtual assistants.
22-
* Text to Speech: Convert text into natural-sounding speech, enhancing user experiences.
23-
* Whisper (Text to Speech): Convert spoken language into text, useful for transcription and voice recognition.
24-
* Image to Text: Generate descriptions of an image.
25-
* Text to Image: Create an image based on a description prompt of the desired imagery.
18+
[Introduction to Microsoft Agent Framework](https://learn.microsoft.com/en-us/agent-framework/overview/)
2619

27-
Upcoming relases will support more Semantic Kernel and Azure Open AI functionality such as:
28-
* Embeddings: Create vector representations of text, which can be used for semantic search and similarity matching.
29-
* Function Calling: Integrate custom functions into your AI models, allowing the model to call external APIs or perform specific tasks based on the context of the conversation.
30-
* Content Filtering: Automatically filter out inappropriate or harmful content from generated responses.
31-
* Fine-Tuning: Train models on your specific data to better align with your use cases and improve performance.
32-
* Assistants: Create and manage virtual assistants that can handle complex tasks and interactions.
33-
* Semantic Search: Perform searches based on the meaning of the text rather than just keywords, improving search relevance.
20+
[Getting Started with Microsoft Agent Framework](https://learn.microsoft.com/en-us/agent-framework/get-started/quick-start-guide?pivots=programming-language-csharp)
3421

3522
# Quick-Start Steps
3623
To get started, follow the steps below:
@@ -318,7 +305,6 @@ All workflow YAML files in this repo are designed to:
318305
| `COMPANY-PRODUCT-api.yml` | CI/CD for .NET Web API (build, test, deploy to Azure App Service) | Yes | Yes |
319306
| `COMPANY-PRODUCT-api-sql.yml` | CI/CD for .NET Web API with Azure SQL (includes DB migration) | Yes | Yes |
320307
| `COMPANY-PRODUCT-iac.yml` | Deploy Azure infrastructure using Bicep templates | Yes | Yes |
321-
| `COMPANY-PRODUCT-stapp-ci-cd.yml` | CI/CD for Azure Static Web Apps (Blazor, SPA, etc.) | Yes | Yes |
322308
| `COMPANY-PRODUCT-nuget.yml` | Build, test, and publish NuGet packages | Yes | Yes |
323309
---
324310

@@ -394,7 +380,6 @@ pwsh -File ./.github/scripts/repo/New-Github-Azure-Federation.ps1 \
394380

395381
This setup ensures your GitHub Actions workflows can securely deploy to Azure using federated credentials and the required secrets.
396382

397-
398383
# Contact
399384
* [GitHub Repo](https://www.github.com/goodtocode/agent-framework-quick-start)
400385
* [@goodtocode](https://www.twitter.com/goodtocode)
@@ -405,11 +390,11 @@ This setup ensures your GitHub Actions workflows can securely deploy to Azure us
405390
* [ASP.NET .Net](https://docs.microsoft.com/en-us/aspnet/core/introduction-to-aspnet-core)
406391
* [Entity Framework Core](https://docs.microsoft.com/en-us/ef/core/)
407392

408-
# Semantic Kernel
409-
* [GitHub](https://github.com/microsoft/semantic-kernel.git)
410-
* [Getting Started Blog](https://devblogs.microsoft.com/semantic-kernel/how-to-get-started-using-semantic-kernel-net/)
411-
* [Understanding the Kernel](https://learn.microsoft.com/en-us/semantic-kernel/agents/kernel/?tabs=Csharp)
412-
* [Creating Plugins](https://devblogs.microsoft.com/semantic-kernel/using-semantic-kernel-to-create-a-time-plugin-with-net/)
393+
# Agent Framework
394+
* [GitHub](https://github.com/microsoft/agentframework)
395+
* [Getting Started Blog](https://devblogs.microsoft.com/semantic-kernel/introducing-microsoft-agent-framework/)
396+
* [Understanding the Kernel](https://learn.microsoft.com/en-us/agent-framework/agents/kernel/?tabs=Csharp)
397+
* [Creating Plugins](https://learn.microsoft.com/en-us/agent-framework/plugins/overview/)
413398

414399
## Additional Technologies References
415400
* AspNetCore.HealthChecks.UI

src/Core.Application/Abstractions/IAgentFrameworkContext.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
using Goodtocode.AgentFramework.Core.Domain.Actor;
2-
using Goodtocode.AgentFramework.Core.Domain.Audio;
32
using Goodtocode.AgentFramework.Core.Domain.ChatCompletion;
4-
using Goodtocode.AgentFramework.Core.Domain.Image;
5-
using Goodtocode.AgentFramework.Core.Domain.TextGeneration;
63
using Microsoft.EntityFrameworkCore.Metadata;
74

85
namespace Goodtocode.AgentFramework.Core.Application.Abstractions;
@@ -11,10 +8,6 @@ public interface IAgentFrameworkContext
118
{
129
DbSet<ChatMessageEntity> ChatMessages { get; }
1310
DbSet<ChatSessionEntity> ChatSessions {get; }
14-
DbSet<TextPromptEntity> TextPrompts { get; }
15-
DbSet<TextResponseEntity> TextResponses { get; }
16-
DbSet<TextImageEntity> TextImages { get; }
17-
DbSet<TextAudioEntity> TextAudio { get; }
1811
DbSet<ActorEntity> Actors { get; }
1912

2013
Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);

src/Core.Application/Audio/CreateTextToAudioCommand.cs

Lines changed: 0 additions & 66 deletions
This file was deleted.

src/Core.Application/Audio/CreateTextToAudioCommandValidator.cs

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/Core.Application/Audio/DeleteTextAudioCommand.cs

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/Core.Application/Audio/DeleteTextAudioCommandValidator.cs

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/Core.Application/Audio/GetTextAudioQuery.cs

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/Core.Application/Audio/GetTextAudioQueryValidator.cs

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/Core.Application/Audio/GetTextAudiosPaginatedQuery.cs

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/Core.Application/Audio/GetTextAudiosPaginatedQueryValidator.cs

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)