None
- Support for Vector
sparse_values
- Added function
upsert_from_dataframe()
which allows upserting a large dataset of vectors by providing a Pandas dataframe - Added option to pass vectors to
upsert()
as a list of dictionaries - Implemented GRPC retry by directly configuring the low-level
grpcio
behavior, instead of wrapping with an interceptor
- Fix "Connection Reset by peer" error after long idle periods
- Add typing and explicit names for arguments in all client operations
- Add docstrings to all client operations
- Support batch upsert by passing
batch_size
toupsert
method - Improve gRPC query results parsing performance
- Added support for collections
- Users can manage collections using
create_collection
,describe_collection
anddelete_collection
calls. - Users can specify additional
source_collection
parameter during index creation to create index from a collection
- Users can manage collections using
- The
scale_index
call is now deprecated in favor ofconfigure_index
, users can now modify bothpod_type
andreplicas
on existing indexes. - Added support for vertical scaling. This can be done by changing
pod_type
via theconfigure_index
call or during index creation. - Updated dependency requirements for grpc client.
- Changed grpcio verison to be > 1.44.1
- Sanitized repo by removing leftover files from old versions.
- Added more info to
describe_index_stats
call. The call now gives a namespace wise vector count breakdown.
- Added support of querying by a single vector.
- This is a step in deprecating batch queries.
- Added support of querying by vector id.
- Adds support to specify what metadata fields should be indexed on index creation using the
index_metadata_config
option.
- Added support for deleting vectors by metadata filter. The pinecone.Index.delete() api now accepts an additional filter= parameter which takes metadata filter expression equivalent to what query() supports.
- Internally these requests are now sent as POST requests, though the previous DELETE api is still supported.
- Added update API. Allows updates to a vector and it's metadata.
- Added
state
to index status. Allows the user to check what state the index is in with thedescribe_index
call. An index can be in one of the following states:Initializing
: Index is getting readyReady
: Index is ready to receive requestsScalingUp
: Index is adding replicas, it can still take requests.ScalingDown
: Index is scaling down replicas, it can still take requests.Terminating
: Index is in the stage of getting deleted.
2.0.8 - 2022-03-08
- Added an
index_fullnes
metric in thedescribe_index_stats()
response. - Removed
Sentry
tracking and dependencies for client errors.
2.0.7 - 2022-03-01
- Increased maximum length of ids to 512
2.0.6 - 2022-02-15
- Changed the spec to add
pods
andpod_type
fields tocreate_index
anddescribe_index
. pod_type
is used to select between's1'
and'p1'
pod types during index creation.- The field
pods
means total number of pods the index will use,pods = shards*replicas
.
2.0.5 - 2022-01-17
- Increased the max vector dimensionality to 20k.
2.0.4 - 2021-12-20
- Public release of the gRPC flavor of client. The gRPC flavor comes with more dependencies but can give higher upsert speeds on multi node indexes. For more details on the gRPC client, please refer to the installation and usage sections in the docs.
2.0.3 - 2021-10-31
- Some type validations were moved to the backend for performance reasons. In these cases a 4xx ApiException will be returned instead of an ApiTypeError.
2.0.2 - 2021-10-21
- The python client
pinecone.config.OpenApiConfiguration
object now uses the certifi package's SSL CA bundle by default. This should fix HTTPS connection errors in certain environments depending on their default CA bundle, including some Google Colab notebooks. - A bug causing different index instances to share the same configuration object was fixed.
- Deprecated control via
pinecone.init()
of the pinecone logger's log level and removed the loguru dependency. To control log level now, use the standard library's logging module to manage the level of the "pinecone" logger or its children.
2.0.1 - 2021-10-06
- New
timeout
parameter to thepinecone.create_index()
and thepinecone.delete_index()
call.timeout
allows you to set how many seconds you want to wait forcreate_index()
anddelete_index()
to complete. IfNone
, wait indefinitely; if>=0
, time out after this many seconds; if-1
, return immediately and do not wait. Defaults toNone
.
- Updates the default openapi_config object to use the certifice ssl_ca_cert bundle.
- The python client
pinecone.config.OpenApiConfiguration
object now uses the certifi package's SSL CA bundle by default. This should fix HTTPS connection errors in certain environments depending on their default CA bundle, including some Google Colab notebooks.
- New major release!
pinecone.create_index()
now requires adimension
parameter.- The
pinecone.Index
interface has changed:Index.upsert
,Index.query
,Index.fetch
, andIndex.delete
now take different parameters and return different results.Index.info
has been removed. SeeIndex.describe_index_stats()
as an alternative.- The
Index()
constructor no longer validates index existence. This is instead done on all operations executed using the Index instance.