microsoft / hack-together

Hack Together: Microsoft Graph and .NET is a hackathon for .NET developers to learn Microsoft Graph and Microsoft 365.
MIT License
523 stars 85 forks source link

Project: Speech 2 Todo #68

Open KenjiPcx opened 1 year ago

KenjiPcx commented 1 year ago

Project name

Speech 2 Todo

Description

What I built

I decided to work on a webapp that allows turn your speech into tasks in the Microsoft Todo app, it is basically an AI powered productivity app

How it works

You choose a project, you record your plans, you extract todos, and you add them to Microsoft Todos Each project will end up with its own list, you can configure your projects in the app

Why I built it

I built it to help me plan my day on each project every morning, I thought of just doing standups on each projects I am interested in doing on that day and have GPT extract tasks out of the conversation, it is just a way faster and natural way for me to create todos

That's what I use it for, but you can use it for pretty much anything else, like talking about your chores, your meetings etc

What I built it with

I used Blazor Server App, Azure Speech Service for speech recognition, Open AI Api for extraction , TailwindCSS + DaisyUI for styling

More details

I've added a lot more details and a demo in the readme page of my repository, so feel free to have a look 😁

Repo URL

https://github.com/KenjiPcx/.NET-Graph-Hack-Together

Team members

Kenji Phang (KenjiPcx)

waldekmastykarz commented 1 year ago

Hey @KenjiPcx! Thanks for the submission! Could you tell us a bit more about how you're using Microsoft Graph? From what I can see in the project, it seems like the data is stored in the local DB, but maybe I missed something.

KenjiPcx commented 1 year ago

Hi @waldekmastykarz I am using Microsoft graph to create todos in Microsoft todos, the local db is just a simple place to create projects or essentially lists, I think I just left it in because I wanted to make something simple

I have included a demo in the repo if that helps

waldekmastykarz commented 1 year ago

Could you please share a link to the place in code where you're calling Microsoft Graph? I see you've got the reference to the Microsoft Identity SDK and define the Microsoft Graph BaseUrl, but I can't find any references to BaseUrl in the code. Sorry for the trouble if I'm missing something.

KenjiPcx commented 1 year ago

No worries @waldekmastykarz, I was using dependency injection so I guess it's harder to find the reference

You can find me registering Microsoft graph in Program.cs https://github.com/KenjiPcx/.NET-Graph-Hack-Together/blob/main/dotnet-blazor-server-app-microsoft-graph/Program.cs#L18

And you can find me using the graph in index.razor

Here is me injecting the graph client https://github.com/KenjiPcx/.NET-Graph-Hack-Together/blob/main/dotnet-blazor-server-app-microsoft-graph/Pages/Index.razor#L15

Here is me using it with the Todo api https://github.com/KenjiPcx/.NET-Graph-Hack-Together/blob/main/dotnet-blazor-server-app-microsoft-graph/Pages/Index.razor#L242

waldekmastykarz commented 1 year ago

Thank you for the pointers and sorry for the trouble. Searching for "graph" in the repo yielded no results, which got me confused. Thank you for clarifying. Very nice hack! 👏

aycabas commented 1 year ago

Hey @KenjiPcx awesome project! Would you mind recording a short video walkthrough of your hack? Any format will work. It's not required for the hackathon but it would help us showcase your work both internally at Microsoft and publicly in the community. 😊

waldekmastykarz commented 1 year ago

@aycabas @KenjiPcx included a video already on his readme @ https://github.com/KenjiPcx/.NET-Graph-Hack-Together

aycabas commented 1 year ago

Sorry about that! Thank you for the awesome video @KenjiPcx