Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 2.03 KB

README.md

File metadata and controls

51 lines (32 loc) · 2.03 KB

Plugins

IMPORTANT: This sample is for educational purposes only and is not recommended for production deployments.

Plugins are cool! They allow Chat Copilot to talk to the internet. Read more about plugins here Understanding AI plugins in Semantic Kernel and here ChatGPT Plugins.

Available Plugins

These plugins in this project can be optionally deployed with the Chat Copilot WebApi

  • WebSearcher: A plugin that allows the chat bot to perform Bing search.
  • More to come. Stay tuned!

Third Party plugins

You can also configure Chat Copilot to use third party plugins.

All no-auth plugins will be supported.

All service-level-auth and user-level-auth plugins will be supported.

OAuth plugins will NOT be supported.

Read more about plugin authentication here: Plugin authentication

Plugin Configuration in Chat Copilot

Prerequisites

  1. The name of your plugin. This should be identical to the NameForHuman in your plugin manifest.

    Please refer to OpenAI for the manifest requirements.

  2. Url of your plugin.

    This should be the root url to your API. Not the manifest url nor the OpenAPI spec url.

  3. (Optional) Key of the plugin if it requires one.

Local dev

In appsettings.json or appsettings.development.json under ../webapi/, add your plugin to the existing Plugins list with the required information.

Deployment

  1. Go to your webapi resource in Azure portal.
  2. Go to Configuration -> Application settings.
  3. Look for Plugins:[index]:* in the names that has the largest index.
  4. Add the following names and their corresponding values:
Plugins[*index+1*]:Name
Plugins[*index+1*]:Url
Plugins[*index+1*]:Key (only if the plugin requires it)