Skip to content

Alan-Kuan/AOAI-for-Word

Repository files navigation

Azure OpenAI for Word

An Office Add-in with the magic from OpenAI

Screenshots

Login.png

Note login page will not show during local development

Settings.png

Completion.png

Production Environment Setup

Please refer to AOAI-for-Word-backend.

Development Environment Setup on Windows

  1. Install winget.
    • It probably has already been installed on Windows.
  2. Start PowerShell and use winget to install Node.js LTS and pnpm.
    winget install openjs.nodejs.lts pnpm
  3. [Optional] Add an alias for pnpm in PowerShell's profile.
    • If you skip this step, you'll have to use pnpm-win-x64.exe in latter steps
    Set-Alias -Name pnpm -Value pnpm-win-x64.exe
  4. Restart PowerShell.
  5. Clone the repo.
    git clone https://github.com/Alan-Kuan/AOAI-for-Word
  6. Install dependencies.
    pnpm install
  7. Create certificates for development purposes.
    npx office-addin-dev-certs install --days <validity period in days>
  8. Start development server.
    pnpm dev
  9. Sideload the Add-in.
    pnpm sideload