semantic-kernel
semantic-kernel copied to clipboard
CopilotChat: Combine AIOptions into a common setting.
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.
Need to update ReadMes before merging this
Need to update ReadMes before merging this
The PR is in "draft" mode while I update the READMEs and scripts