-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.Net: [Error handling] [Part3] Replacing a few connector exceptions b…
…y SKException (#2299) ### Motivation and Context This PR is the first in a chain of following PRs aimed at providing a simple, consistent, and extensible exception model. You can find more details in the [ADR](https://github.com/microsoft/semantic-kernel/blob/main/docs/decisions/0004-error-handling.md) discussing error handling. ### Description This PR changes PineconeMemoryStore, QdrantMemoryStore, WeaviateMemoryStore, etc.. connectors to throw SKException instead of their dedicated exceptions and removes those exceptions. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 --------- Co-authored-by: Shawn Callegari <[email protected]>
- Loading branch information
1 parent
ba93373
commit bd8d7d4
Showing
24 changed files
with
91 additions
and
783 deletions.
There are no files selected for viewing
16 changes: 0 additions & 16 deletions
16
...rc/Connectors/Connectors.AI.Oobabooga/TextCompletion/OobaboogaInvalidResponseException.cs
This file was deleted.
Oops, something went wrong.
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
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
45 changes: 0 additions & 45 deletions
45
dotnet/src/Connectors/Connectors.Memory.Chroma/ChromaClientException.cs
This file was deleted.
Oops, something went wrong.
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
35 changes: 0 additions & 35 deletions
35
dotnet/src/Connectors/Connectors.Memory.Chroma/ChromaMemoryStoreException.cs
This file was deleted.
Oops, something went wrong.
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
141 changes: 0 additions & 141 deletions
141
dotnet/src/Connectors/Connectors.Memory.Pinecone/PineconeMemoryException.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.