Skip to content

Commit 91ae6b5

Browse files
committed
Add index_fullness to the describeIndexStats response
1 parent b86c197 commit 91ae6b5

File tree

7 files changed

+759
-1944
lines changed

7 files changed

+759
-1944
lines changed

pinecone/core/client/model/describe_index_stats_response.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def openapi_types():
9494
return {
9595
'namespaces': ({str: (NamespaceSummary,)},), # noqa: E501
9696
'dimension': (int,), # noqa: E501
97+
'index_fullness': (float,), # noqa: E501
9798
}
9899

99100
@cached_property
@@ -104,6 +105,7 @@ def discriminator():
104105
attribute_map = {
105106
'namespaces': 'namespaces', # noqa: E501
106107
'dimension': 'dimension', # noqa: E501
108+
'index_fullness': 'indexFullness', # noqa: E501
107109
}
108110

109111
read_only_vars = {
@@ -149,6 +151,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
149151
_visited_composed_classes = (Animal,)
150152
namespaces ({str: (NamespaceSummary,)}): A mapping for each namespace in the index from namespace name to a summary of its contents.. [optional] # noqa: E501
151153
dimension (int): The dimension of the indexed vectors.. [optional] # noqa: E501
154+
index_fullness (float): The storage fullness of the index.. [optional] # noqa: E501
152155
"""
153156

154157
_check_type = kwargs.pop('_check_type', True)
@@ -232,6 +235,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
232235
_visited_composed_classes = (Animal,)
233236
namespaces ({str: (NamespaceSummary,)}): A mapping for each namespace in the index from namespace name to a summary of its contents.. [optional] # noqa: E501
234237
dimension (int): The dimension of the indexed vectors.. [optional] # noqa: E501
238+
index_fullness (float): The storage fullness of the index.. [optional] # noqa: E501
235239
"""
236240

237241
_check_type = kwargs.pop('_check_type', True)

pinecone/core/grpc/protos/vector_column_service_pb2.py

Lines changed: 53 additions & 716 deletions
Large diffs are not rendered by default.

pinecone/core/grpc/protos/vector_column_service_pb2.pyi

Lines changed: 272 additions & 194 deletions
Large diffs are not rendered by default.

pinecone/core/grpc/protos/vector_service_pb2.py

Lines changed: 136 additions & 822 deletions
Large diffs are not rendered by default.

pinecone/core/grpc/protos/vector_service_pb2.pyi

Lines changed: 278 additions & 210 deletions
Large diffs are not rendered by default.

specs/pinecone_api.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,8 @@
502502
"vectorCount": 30000
503503
}
504504
},
505-
"dimension": 1024
505+
"dimension": 1024,
506+
"index_fullness": 0.42
506507
},
507508
"properties": {
508509
"namespaces": {
@@ -517,6 +518,12 @@
517518
"format": "int64",
518519
"example": 1024,
519520
"description": "The dimension of the indexed vectors."
521+
},
522+
"indexFullness": {
523+
"type": "number",
524+
"format": "double",
525+
"example": 0.42,
526+
"description": "The storage fullness of the index."
520527
}
521528
},
522529
"description": "The response for the `DescribeIndexStats` operation."

specs/vector_service.openapi.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@
302302
"vectorCount": 30000
303303
}
304304
},
305-
"dimension": 1024
305+
"dimension": 1024,
306+
"index_fullness": 0.42
306307
},
307308
"properties": {
308309
"namespaces": {
@@ -317,6 +318,12 @@
317318
"format": "int64",
318319
"example": 1024,
319320
"description": "The dimension of the indexed vectors."
321+
},
322+
"indexFullness": {
323+
"type": "number",
324+
"format": "double",
325+
"example": 0.42,
326+
"description": "The storage fullness of the index."
320327
}
321328
},
322329
"description": "The response for the `DescribeIndexStats` operation."

0 commit comments

Comments
 (0)