Skip to content

Mail client (MVP) using .NET Graph with integrated AI language Model

Notifications You must be signed in to change notification settings

vasjen/NetGraphWithAI

Repository files navigation

NetGraphWithAI

Hack Together: Microsoft Graph and .NET

The idea

Develop a mail client (MVP) with an integrated ChatGPT feature that will help expand the capabilities of a regular mail client. The goal was to implement two directions.

  • For people with limited abilities (deaf) - to transcribe audio content sent as attachments. Recordings of conversations, conferences, podcasts - everything can be transcribed into text and studied right away.
  • To remove the language barrier for teams consisting of people from different countries by allowing the translation of sent and received messages into English.

I am confident that integrating a language model will significantly enhance the experience of interacting with many corporate products, but in this project of the hackathon, it was decided to focus only on these two tasks and the mail client.

Technical Stack

  • ASP.NET Core 7.0
  • C#
  • Graph SDK
  • OpenAI API

Installation guide

  1. Sign up for a Microsoft 365 Developer Program subscription.
  2. Register application for user authentication (How to do it)
  3. Add credentials to secrets.json
dotnet user-secrets init
dotnet user-secrets set "AzureAD:ClientId" "Your_Azure_AD_Client_Id"
dotnet user-secrets set "AzureAD:ClientSecret" "Your_Azure_AD_Client_Secret"
  1. Visit personal account OpenAI to create and get your secret Key
  2. Store this key in secrets.json of project
dotnet user-secrets set "OpenAIAPI" "Your_OPENAI_Secret"
  1. Run application

About

Mail client (MVP) using .NET Graph with integrated AI language Model

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published