hack-together-teams icon indicating copy to clipboard operation
hack-together-teams copied to clipboard

Project: MsTeams Quiz Bot

Open marcel-paalvast opened this issue 1 year ago • 2 comments

Project name

MsTeams Quiz Bot

Description

MsTeams Quiz Bot

A Microsoft Teams bot to create a quiz inside any chat about any subject using randomly generated questions.

Key Features

When mentioned with @bot-name quiz the bot will create an adaptive card allowing a user to setup a quiz about their specified topic and in their language. The user starting the quiz then has full control to participate and decide when to lock a question and generate the next question or to stop the quiz and show the top 10 results.

A Function App handles the messages that are received by the bot reacting to the prompts and generating responses using Microsoft's Adapative Cards. The Function App uses a Cosmos Database to maintain its state allowing it to scale and not require it to be always on (so serverless is an option). A memory cache is maintained to quickly access objects should the Function App still be active from previous requests. Questions are generated using OpenAi's ChatGpt allowing you to create an 'infinite' amount of questions on any topic.

Project Repository URL

https://github.com/marcel-paalvast/msteams-quiz-bot

Project video

Added as comment

Team members

marcel-paalvast

marcel-paalvast avatar Jun 14 '23 18:06 marcel-paalvast

Demo video:

https://github.com/microsoft/hack-together-teams/assets/126659601/01173cba-c3f4-4846-b722-6e1aa31cc17c

marcel-paalvast avatar Jun 14 '23 18:06 marcel-paalvast

Thank you so much for your submission @marcel-paalvast! Looking forward to checking it out! Meanwhile, would you be willing to fill in a feedback survey? It would help us improve next time and we'd appreciate it very much: https://aka.ms/hack-together-teams/survey.

aycabas avatar Jun 15 '23 05:06 aycabas