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

OpenAI 403 workaround to merge approved PRs #619

Merged
merged 3 commits into from
Nov 17, 2023

Conversation

momuno
Copy link
Member

@momuno momuno commented Nov 17, 2023

Motivation and Context

No PRs can be merged due to 403 on https://platform.openai.com

Description

This is NOT a permanent fix as it does NOT address the root cause.
It is a temporary change so important PRs can be merged.

Contribution Checklist

@github-actions github-actions bot added the github actions Pull requests that update GitHub Actions code label Nov 17, 2023
@momuno
Copy link
Member Author

momuno commented Nov 17, 2023

NA

@momuno momuno closed this Nov 17, 2023
@momuno momuno reopened this Nov 17, 2023
@momuno momuno changed the title test openai 403 fix OpenAI 403 workaround to merge approved PRs Nov 17, 2023
@momuno momuno marked this pull request as ready for review November 17, 2023 23:09
@momuno momuno added this pull request to the merge queue Nov 17, 2023
Merged via the queue into microsoft:main with commit 8f37df4 Nov 17, 2023
5 checks passed
@momuno momuno deleted the bug/fix-403 branch November 17, 2023 23:22
gormaar pushed a commit to equinor/chat-copilot that referenced this pull request Nov 29, 2023
### Motivation and Context
This change enables download/upload a bot in the Copilot Chat app. It is
the first step to demonstrate the idea of "bots are documents". With
Semantic Kernel memory and chat history, users can
authorize/update/share bots with others, like write a document. We would
like to inspire SK developers with this example and learn from their
real-world use cases in order to take the idea further.

### Description
* UX controls to trigger download/upload a bot file. Now we only support
download/upload files from the user's computer.
* API endpoints to expose the upload/download functionality.
* Download: Export 1) chat message history from the given chat session
(id: chat id), 2) embeddings from SK memory store.
* Upload: Import 1) chat message history to a new chat session, 3)
embeddings to SK memory store. (Note: Copilot Chat messages are not
linked to SK memory id.)
* Bot schema v1.0. It defines what is stored in a bot file - 1) schema
version info (for compatibility), 2) chat history, 3) embeddings from
the conversation, 4) the AI service information that generated the
embeddings.
* Error handlings:
1. If schema in the file and in the app config mismatch, the API throws
exception. For embedding mismatches, further enhancement could be done
to generate new embeddings.
2. If import failed in any step, we throw an exception. A further work
item here to revert changes in each store to make it transactional.
* Chat history: Hallucination is possible if the model missed context.
Therefore, we store and render the chat history in the experience to
allow users to tell if hallucination is presented for a given prompt.
teamleader-dev pushed a commit to vlink-group/chat-copilot that referenced this pull request Oct 7, 2024
### Motivation and Context

No PRs can be merged due to 403 on https://platform.openai.com

### Description

This is NOT a permanent fix as it does NOT address the root cause.
It is a temporary change so important PRs can be merged.

### 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 😄

---------

Co-authored-by: Mollie Munoz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants