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

Project: A chatbot game

Open cswesh opened this issue 2 years ago • 3 comments

Project name

who am i

Description

A chatbot game to find out who is the person the bot has generated in its mind. This game is built for MS Teams Chat application and this bot can be deployed to Azure Cloud to roll out to the entire organization. This game utilizes generative Chat OpenAI model to get a famous personality and to compare and verify the answer provided by the user during the game.

Game Intents

  • Personality Generation - Upon typing the words "new game" the game will be started. The bot will communicate with OpenAI using the Langchain framework and generates the name of a random famous personality and stores the name in a variable.
  • Comparison Check - User can guess and ask upto 10 questions to figure out who is the person that bot has thought about. The question will be compared with the person using the LLM chain call and the bot responses with one word by Yes or No without revealing the answer to the quiz.
  • Condition Check - If the user cannot find within 10 questions, the bot logic will reveal the answer and completes the game to end. Or if the user found the answer then the bot will Congratulate and complets the game to end.
  • Other Questions handling - Since the bot is consuming the generative AI if the user asks any other question apart from the game is politely handled and motivates to revert to the game.

Project Repository URL

https://github.com/cswesh/who-am-i

Project video

https://github.com/cswesh/who-am-i/blob/main/game-sample.mp4

Team members

https://github.com/cswesh

cswesh avatar Jun 15 '23 18:06 cswesh

https://github.com/microsoft/hack-together-teams/assets/3072845/8608fdc9-d77f-4319-92e1-b4ceb3204665

cswesh avatar Jun 15 '23 18:06 cswesh

Thank you for your project submission @cswesh, I'm excited to check out your project! 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 16 '23 06:06 aycabas

@aycabas completed the survey 👌

cswesh avatar Jun 17 '23 05:06 cswesh