coronasafe / ayushma

Empowering Nurses with Multilingual ICU Protocols. Leveraging the rapid advancements in AI technology, created multilingual interfaces that assist nurses in rapidly upgrading their knowledge about ICU protocols.
https://ayushma-api.ohc.network
MIT License
7 stars 8 forks source link

Bump pinecone-client from 2.2.4 to 3.0.2 #447

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps pinecone-client from 2.2.4 to 3.0.2.

Release notes

Sourced from pinecone-client's releases.

Release v3.0.2

Fixes

Create indexes using source_collection option in PodSpec

This release resolves a bug when passing source_collection as part of the PodSpec. This option is used when creating a new index from vector data stored in a collection. The value of this field should be a collection you have created previously from an index and that shows with pc.list_collections(). Currently collections and pod-based indexes are not portable across environments.

from pinecone import Pinecone

pc = Pinecone(api_key='YOUR_API_KEY')

pc.create_index( name='my-index', dimension=1536, metric='cosine', spec=PodSpec( environment='us-east1-gcp', source_collection='collection-2024jan16', ) )

Pass optional GRPCClientConfig when using PineconeGRPC

This could be considered as a fix for a UX bug or a micro-feature, depending on your perspective. In 3.0.2 we updated the pc.Index helper method that is used to build instances of the GRPCIndex class. It now accepts an optional keyword param grpc_config. Before this fix, you would need to import GRPCIndex and instantiate GRPCIndex yourself in order to pass this configuration and customize some settings, which was a bit clunky.

from pinecone.grpc import PineconeGRPC, GRPCClientConfig

pc = PineconeGRPC(api_key='YOUR_API_KEY') grpc_config = GRPCClientConfig( timeout=10, secure=True, reuse_channel=True ) index = pc.Index( name='my-index', host='host', grpc_config=grpc_config )

Now do data operations

index.upsert(...)

Pass optional pool_threads config on the index.

Similar to the grpc_config option, some people requested the ability to pass pool_threads when targeting an index rather than in the initial client initialization. Now the optional configuration is accepted in both places, with the value passed to .Index() taking precedence.

... (truncated)

Commits
  • 61c19ad [skip ci] Bump version to v3.0.2
  • 45c18e9 Optional configs to pass additional_headers/additional_metadata to indexe...
  • 995c0a1 Integration tests for collections (#299)
  • 5eb002e Expose missing configurations for grpc_config and pool_threads (#296)
  • 2a7faa8 README.md: Update install steps to escape brackets (#298)
  • e100f3c [skip ci] Bump version to v3.0.1
  • ff4f525 Improve error message when using positional arguments with query() (#292)
  • e770c5a Improve AttributeError warnings when using deprecated methods (#291)
  • c84ea97 Re-enable integration test for configure_index (#289)
  • d44b936 Add query() validation to prevent sending both id and vector (#285)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ayushma ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 1, 2024 7:14pm
dependabot[bot] commented 3 months ago

Superseded by #469.