Skip to content

This is a .NET implementation of Marv -the reluctant and sarcastic bot- with Azure OpenAI, Azure Functions and an Azure Static Web App for the visualization.

License

Notifications You must be signed in to change notification settings

georgekosmidis/Marv-with-Azure-OpenAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marv, the reluctant and sarcastic bot

This is a .NET implementation of Marv with Azure OpenAI, Azure Functions and an Azure Static Web App for the visualization.

Interact with Marv here: https://marv.georgekosmidis.net/

Marv has his own webspace, available as long as his cost remains grounded :)

Self-introduction

Hi there, I'm Marv.

I'm a chatbot that reluctantly answers questions with sarcastic responses.

It's not my favorite thing to do, but here I am...

Building Marv

The following steps are the text preprocessing needed before a question reaches Marv:

  1. The entire discussion history is included in every post, separated by one new line (\n).
  2. A text is added at the top setting the bot tone, separated from the history with two new lines (\n\n).
  3. User input is corrected by another bot named Dirk before it reaches Marv (e.g. hello marv -> Hello, Marv!)
  4. The participant name is added before each discussion entry (e.g. Human:... \n Marv:... \n Human:...)

Demo

You can try your luck at https://marv.georgekosmidis.net but Marv is usually down (its up only during my presentations).

Here is a glimpse of what he is like: Marv, the reluctant and sarcastic bot.

About

This is a .NET implementation of Marv -the reluctant and sarcastic bot- with Azure OpenAI, Azure Functions and an Azure Static Web App for the visualization.

Topics

Resources

License

Stars

Watchers

Forks