semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

CopilotChat: Combine AIOptions into a common setting.

Open adrianwyatt opened this issue 2 years ago • 2 comments

Motivation and Context

Configuring AI service options in CopilotChat required 3 separate sections that are all identical. This change combines those section into a single section that shares the type (Azure/OpenAI), endpoint, and API key.

Description

  • Removed "Completion", "Embedding", and "Planner:AIService" from settings
  • Added "AIService" sections containing all previous sections and a "Models" section to define models to use for completions, embeddings, and planning
  • Added a "config.ps1" script to set the API key as a user-secret and generate an 'appsettings.Development.json' with AIService overrides.

adrianwyatt avatar May 17 '23 02:05 adrianwyatt

Need to update ReadMes before merging this

hathind-ms avatar May 17 '23 02:05 hathind-ms

Need to update ReadMes before merging this

The PR is in "draft" mode while I update the READMEs and scripts

adrianwyatt avatar May 17 '23 03:05 adrianwyatt