Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CopilotChat: Combine AIOptions into a common setting. #1031

Merged
merged 22 commits into from
May 18, 2023

Conversation

adrianwyatt
Copy link
Contributor

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 adrianwyatt marked this pull request as draft May 17, 2023 02:24
@adrianwyatt adrianwyatt self-assigned this May 17, 2023
@hathind-ms

This comment was marked as resolved.

@adrianwyatt adrianwyatt added docs and tests Improvements or additions to documentation PR: in progress Under development and/or addressing feedback .NET Issue or Pull requests regarding .NET code labels May 17, 2023
@adrianwyatt

This comment was marked as resolved.

@github-actions github-actions bot removed the .NET Issue or Pull requests regarding .NET code label May 17, 2023
@adrianwyatt adrianwyatt marked this pull request as ready for review May 18, 2023 00:02
@adrianwyatt adrianwyatt added PR: ready for review All feedback addressed, ready for reviews .NET Issue or Pull requests regarding .NET code and removed PR: in progress Under development and/or addressing feedback labels May 18, 2023
@github-actions github-actions bot removed the .NET Issue or Pull requests regarding .NET code label May 18, 2023
@adrianwyatt adrianwyatt requested a review from glahaye May 18, 2023 00:08
@adrianwyatt adrianwyatt added the .NET Issue or Pull requests regarding .NET code label May 18, 2023
@github-actions github-actions bot removed the .NET Issue or Pull requests regarding .NET code label May 18, 2023
samples/apps/copilot-chat-app/scripts/Start.sh Outdated Show resolved Hide resolved
samples/apps/copilot-chat-app/scripts/Start.ps1 Outdated Show resolved Hide resolved
samples/apps/copilot-chat-app/scripts/Configure.ps1 Outdated Show resolved Hide resolved
@adrianwyatt adrianwyatt enabled auto-merge (squash) May 18, 2023 21:01
@adrianwyatt adrianwyatt merged commit 5310ad4 into microsoft:main May 18, 2023
19 checks passed
shawncal pushed a commit to johnoliver/semantic-kernel that referenced this pull request May 19, 2023
### 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 adrianwyatt deleted the common-aioptions branch May 22, 2023 17:36
golden-aries pushed a commit to golden-aries/semantic-kernel that referenced this pull request Oct 10, 2023
### 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs and tests Improvements or additions to documentation PR: ready for review All feedback addressed, ready for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants