Skip to content

Conversation

@elbruno
Copy link
Collaborator

@elbruno elbruno commented Jul 20, 2025

This pull request adds a new project, MCP-01-HuggingFace, to the solution CoreGenerativeAITechniques.sln. It includes updates to the solution file to integrate the project and introduces the project's core functionality for interacting with Hugging Face and Azure OpenAI services. The most important changes are grouped into solution updates and project additions.

Solution Updates:

  • Added the MCP-01-HuggingFace project to the solution file CoreGenerativeAITechniques.sln, including its configuration for Debug and Release builds across multiple platforms. [1] [2]
  • Linked the MCP-01-HuggingFace project to the 14 MCP solution folder and updated the project mapping in the solution file.

Project Additions:

  • Created the MCP-01-HuggingFace.csproj file, specifying the project as a .NET 9.0 executable with dependencies on packages like Microsoft.Extensions.AI and ModelContextProtocol.
  • Implemented the Program.cs file for the MCP-01-HuggingFace project, enabling interaction with Hugging Face and Azure OpenAI services. It includes functionality for listing server tools, generating AI responses, and creating images using AI models.

DETAILS

- Updated `CoreGenerativeAITechniques.sln` to include a new project "MCP-01-HuggingFace" and "14 MCP", along with necessary build configurations.
- Created `MCP-01-HuggingFace.csproj` with .NET SDK setup, specifying output type, target framework, user secrets, and essential package references.
- Modified `Program.cs` to include Azure and Microsoft.Extensions namespaces, set up a host builder, and implement MCP client functionality for listing server tools and generating images.
@github-actions
Copy link

👋 Thanks for contributing @elbruno! We will review the pull request and get back to you soon.

@elbruno elbruno merged commit 9783b6c into main Jul 20, 2025
3 checks passed
@elbruno elbruno deleted the bruno-add-huggingface-mcpsample branch July 20, 2025 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants