-
Notifications
You must be signed in to change notification settings - Fork 691
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
the
github actions
Pull requests that update GitHub Actions code
label
Nov 17, 2023
NA |
momuno
changed the title
test openai 403 fix
OpenAI 403 workaround to merge approved PRs
Nov 17, 2023
glahaye
approved these changes
Nov 17, 2023
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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