What is MPC C# SemanticKernel: AI-Powered Apps | Rapid Development?
This project demonstrates how to rapidly build AI-driven applications using Microsoft's Semantic Kernel framework with OpenAI integration. Built on the Model Context Protocol (MCP) C# SDK, it provides a practical starting point for developers to experiment with generating text, handling email workflows, and leveraging large language models. While maintained as a proof-of-concept, it showcases modern AI development workflows in C#.
How to Use MPC C# SemanticKernel: AI-Powered Apps | Rapid Development?
- Setup Credentials: Get your OpenAI API key from their developer portal and configure SMTP server details for email capabilities.
- Configure Settings: Update
appsettings.json
files for both the web app and backend server with your API keys, SMTP credentials, and logging preferences. - Customize Email List: Modify the hardcoded email dictionary in
EmailTool.cs
to include your contacts, or refactor this into dynamic configuration for production use. - Deploy & Test: Run the application locally (default port 5109) and send requests via tools like Postman to trigger AI-generated emails through endpoints like
/chat
.