Giter Site home page Giter Site logo

outlook-businessmails-openai's Introduction

Outlook OpenAI Add-in

This add-in allows you to write professional business emails with the help of OpenAI APIs. You can simply type a simple sentence and the add-in will generate a polished and formal email based on your input.

The project comes into two variants:

  • the master branch is based on the Open AI APIs, so you will need to get an API Key from the OpenAI portal.
  • the azure-open-ai branch is based on the Azure Open AI APIs, so you will need to create a service instance on your Azure subscription. Please be aware that you must be approved by Microsoft before being able to use Azure Open AI.

Please note: this project is meant to help developers understanding how they can integrate OpenAI APIs and ChatGPT into their applications, in this case an Outlook add-in. It's not meant to be a "ready to be deployed" solution.

This project is a companion of the following articles, which explains how this add-in was built:

How to use

Please note: make sure to read the companion blog post to understand all the requirements.

  • Clone the repository on your machine
  • Open the solution with Visual Studio Code.
  • Make sure to replace the existing placeholders with your information:
    • In case you're using the master branch, add your API key
    • In case you're using Azure Open AI service, add your URL, deployment name and API key.
  • Move to the Debug tab in Visual Studio Code, choose Outlook Desktop (Edge Chromium) and press F5. The add-in will be sideloaded in Outlook desktop.
  • Compose a new mail, click on AI Assistant, type one or two sentences and click on the Generate button and wait for the add-in to produce a professional email. You can edit the email as you wish before sending it.
  • Enjoy the convenience and efficiency of writing business emails with OpenAI!

Features

  • The add-in uses OpenAI's GPT-3 language model to generate high-quality and natural-sounding emails.
  • The add-in adapts to different contexts and tones based on your input and the recipient's information.
  • The add-in respects your privacy and does not store or share your email content.

Deployment

This add-in is built using the Office web model. If you want to deploy it on other machines without using Visual Studio Code, you must host it on a web storage and change the manifest file to point to the new URL. Refer to the following documentation to learn how to host the add-in on Azure Storage.

Feedback

If you have any feedback, suggestions or issues with the add-in, please feel free to open an issue or a pull request on this repository.

outlook-businessmails-openai's People

Contributors

qmatteoq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.