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

Make deploying the web searcher plugin optional #517

Merged

Conversation

TaoChenOSU
Copy link
Collaborator

Motivation and Context

The Web Searcher plugin requires a Bing resource, which may require elevated permission. This will fail the whole deployment, blocking developers from deploying the latest CC.

Issues:
#498

Description

This PR makes deploying the Web Searcher plugin optional. And by default, it's NOT deployed.

Contribution Checklist

@TaoChenOSU TaoChenOSU added enhancement New feature or request deployment Issues related to deploying Chat-Copilot labels Oct 17, 2023
@TaoChenOSU TaoChenOSU self-assigned this Oct 17, 2023
@github-actions github-actions bot added documentation Improvements or additions to documentation github actions Pull requests that update GitHub Actions code labels Oct 17, 2023
scripts/deploy/README.md Outdated Show resolved Hide resolved
scripts/deploy/main.bicep Outdated Show resolved Hide resolved
scripts/deploy/main.bicep Outdated Show resolved Hide resolved
scripts/deploy/main.bicep Outdated Show resolved Hide resolved
scripts/deploy/main.bicep Outdated Show resolved Hide resolved
alliscode
alliscode previously approved these changes Oct 17, 2023
@glahaye glahaye added this pull request to the merge queue Oct 17, 2023
Merged via the queue into microsoft:main with commit 10cfc04 Oct 17, 2023
5 checks passed
@Matt-Schneider
Copy link

following #517 deploy-azure.ps1 still errors w/
scripts/deploy/main.bicep(1104,28) : Warning BCP081: Resource type "Microsoft.Bing/accounts@2020-06-10" does not have types available.

Ryangr0 pushed a commit to webgrip/chat-copilot that referenced this pull request Oct 26, 2023
### Motivation and Context

<!-- Thank you for your contribution to the chat-copilot repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
The Web Searcher plugin requires a Bing resource, which may require
elevated permission. This will fail the whole deployment, blocking
developers from deploying the latest CC.

Issues:
microsoft#498

### Description
This PR makes deploying the Web Searcher plugin optional. And by
default, it's NOT deployed.

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
gormaar pushed a commit to equinor/chat-copilot that referenced this pull request Nov 29, 2023
…oft#517)

### Motivation and Context
Submitting empty chat messages confuses the AI.

### Description
- CopilotChat WebApp won't submit if there is not text to submit
- CopilotChat WebApi will successfully return nothing when nothing is
submitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Issues related to deploying Chat-Copilot documentation Improvements or additions to documentation enhancement New feature or request github actions Pull requests that update GitHub Actions code
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants