This repository has been archived by the owner on Jan 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Extend Pinecone tasks with namespace and threshold (#106)
Because - Namespace insertion is supported in Pinecone API but not in the connector. - Sometimes users want to retrieve only relevant matches. This commit - make Pinecone structs unexported (as they are only used locally) - add optional namespace parameter to Pinecone upsert - add score threshold to Pinecone queries ## QA 🔨 ### Insert namespace ![CleanShot 2024-01-12 at 18 12 34](https://github.com/instill-ai/connector/assets/3977183/325e7331-587f-41bb-8ea9-2559096d3d79) ![CleanShot 2024-01-12 at 18 12 02](https://github.com/instill-ai/connector/assets/3977183/52925d2c-4bd9-4165-882c-a8335dce7b61) ### Query with threshold ![CleanShot 2024-01-12 at 18 09 30](https://github.com/instill-ai/connector/assets/3977183/9d69e820-8044-46d4-8b43-10acfa384d43) ![CleanShot 2024-01-12 at 18 09 05](https://github.com/instill-ai/connector/assets/3977183/9e71096a-517f-4178-9847-c28913cf929a)
- Loading branch information
Showing
4 changed files
with
202 additions
and
89 deletions.
There are no files selected for viewing
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
Oops, something went wrong.