diff --git a/pinecone/core/client/api/index_operations_api.py b/pinecone/core/client/api/index_operations_api.py index 0b2f9a9fe..5bd452457 100644 --- a/pinecone/core/client/api/index_operations_api.py +++ b/pinecone/core/client/api/index_operations_api.py @@ -3,13 +3,11 @@ # """ - Pinecone API + Pinecone index operations API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + # noqa: E501 - The version of the OpenAPI document: version not set Contact: support@pinecone.io - Generated by: https://openapi-generator.tech """ @@ -188,7 +186,7 @@ def __create_collection( ): """create_collection # noqa: E501 - This operation creates a Pinecone collection. # noqa: E501 + This operation creates a Pinecone collection from an existing index. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -313,7 +311,7 @@ def __create_index( ): """create_index # noqa: E501 - This operation creates a Pinecone index. You can use it to specify the measure of similarity, the dimension of vectors to be stored in the index, the numbers of shards and replicas to use, and more. # noqa: E501 + This operation creates a Pinecone index. Specify the distance metric, the dimension of vectors to be stored in the index, the numbers replicas to use, and the collection from which to create the index, if applicable. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -699,7 +697,7 @@ def __describe_collection( ): """describe_collection # noqa: E501 - Get a description of a collection. # noqa: E501 + Get a description of a collection, including the name, size, and status. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -829,7 +827,7 @@ def __describe_index( ): """describe_index # noqa: E501 - Get a description of an index. # noqa: E501 + Get a description of an index, including dimension, distance metric, number of replicas, and more. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1076,7 +1074,7 @@ def __list_indexes( ): """list_indexes # noqa: E501 - This operation returns a list of your Pinecone indexes. # noqa: E501 + This operation returns a list of the indexes in the current project. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/pinecone/core/client/api/vector_operations_api.py b/pinecone/core/client/api/vector_operations_api.py index 70f8bb98a..05826c7c9 100644 --- a/pinecone/core/client/api/vector_operations_api.py +++ b/pinecone/core/client/api/vector_operations_api.py @@ -3,7 +3,7 @@ # """ - Pinecone API + Pinecone vector operations API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 @@ -57,9 +57,9 @@ def __delete( ): """Delete # noqa: E501 - The `Delete` operation deletes vectors, by id, from a single namespace. You can delete items by their id, from a single namespace. # noqa: E501 + The `Delete` operation deletes records by ID from a single namespace. # noqa: E501 This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + asynchronous HTTP request, pass async_req=True >>> thread = api.delete(delete_request, async_req=True) >>> result = thread.get() @@ -68,24 +68,24 @@ def __delete( delete_request (DeleteRequest): Keyword Args: - _return_http_data_only (bool): response data without head status + _return_http_data_only (bool): Return response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. + is returned without reading or decoding response data. Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also + _request_timeout (int/float/tuple): The timeout setting for this request. If + one number is provided, it is the total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. + _check_input_type (bool): Specifies if type checking + should be done on the data sent to the server. Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. + _check_return_type (bool): Specifies if type checking + should be done on the data received from the server. Default is True. - _host_index (int/None): specifies the index of the server + _host_index (int/None): Specifies the index of the server that we want to use. - Default is read from the configuration. + Default is to read from the configuration. async_req (bool): execute request asynchronously Returns: @@ -176,36 +176,36 @@ def __delete1( ): """Delete # noqa: E501 - The `Delete` operation deletes vectors, by id, from a single namespace. You can delete items by their id, from a single namespace. # noqa: E501 + The `Delete` operation deletes records by ID from a single namespace. # noqa: E501 This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + asynchronous HTTP request, pass async_req=True >>> thread = api.delete1(async_req=True) >>> result = thread.get() Keyword Args: - ids ([str]): Vectors to delete.. [optional] - delete_all (bool): This indicates that all vectors in the index namespace should be deleted.. [optional] if omitted the server will use the default value of False - namespace (str): The namespace to delete vectors from, if applicable.. [optional] - _return_http_data_only (bool): response data without head status + ids ([str]): Vectors to delete. [optional] + delete_all (bool): This indicates that all records in the index namespace should be deleted. [optional] Default is False. + namespace (str): The namespace to delete records from, if applicable. [optional] + _return_http_data_only (bool): Response data without head status code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. + _preload_content (bool): If False, the urllib3.HTTPResponse object + is returned without reading or decoding response data. Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also + _request_timeout (int/float/tuple): Timeout setting for this request. If + one number is provided, this number is the total request timeout. This argument can also be a pair (tuple) of (connection, read) timeouts. Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. + _check_input_type (bool): Specifies if type checking + should be done after the data is sent to the server. Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. + _check_return_type (bool): Specifies if type checking + should be done after the data is received from the server. Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. + _host_index (int/None): Specifies the index of the server + to use. + Default is to read from the configuration. async_req (bool): execute request asynchronously Returns: @@ -305,7 +305,7 @@ def __describe_index_stats( The `DescribeIndexStats` operation returns statistics about the index's contents, including the vector count per namespace, the number of dimensions, and the index fullness. The index fullness result may be inaccurate during pod resizing; to get the status of a pod resizing process, use [`describe_index`](https://www.pinecone.io/docs/api/operation/describe_index/). # noqa: E501 This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + asynchronous HTTP request, pass async_req=True >>> thread = api.describe_index_stats(describe_index_stats_request, async_req=True) >>> result = thread.get() @@ -314,24 +314,24 @@ def __describe_index_stats( describe_index_stats_request (DescribeIndexStatsRequest): Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. + _return_http_data_only (bool): Return head status + code or headers. Default is True. + _preload_content (bool): If False, the urllib3.HTTPResponse object + is returned without reading or decoding response data. Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also + _request_timeout (int/float/tuple): The timeout setting for this request. If + one number is provided, it is the total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. + _check_input_type (bool): Specifies if type checking + should be done on the data sent to the server. Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. + _check_return_type (bool): Specifies if type checking + should be done on the data received from the server. Default is True. - _host_index (int/None): specifies the index of the server + _host_index (int/None): Specifies the index of the server that we want to use. - Default is read from the configuration. + Default is to read from the configuration. async_req (bool): execute request asynchronously Returns: @@ -424,31 +424,31 @@ def __describe_index_stats1( The `DescribeIndexStats` operation returns statistics about the index's contents, including the vector count per namespace, the number of dimensions, and the index fullness. The index fullness result may be inaccurate during pod resizing; to get the status of a pod resizing process, use [`describe_index`](https://www.pinecone.io/docs/api/operation/describe_index/). # noqa: E501 This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + asynchronous HTTP request, pass async_req=True >>> thread = api.describe_index_stats1(async_req=True) >>> result = thread.get() Keyword Args: - _return_http_data_only (bool): response data without head status + _return_http_data_only (bool): Response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. + is returned without reading or decoding response data. Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also + _request_timeout (int/float/tuple): The timeout setting for this request. If + one number is provided, it is the total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. + _check_input_type (bool): Specifies if type checking + should be done on the data sent to the server. Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. + _check_return_type (bool): Specifies if type checking + should be done on the data received from the server. Default is True. - _host_index (int/None): specifies the index of the server + _host_index (int/None): Specifies the index of the server that we want to use. - Default is read from the configuration. + Default is to read from the configuration. async_req (bool): execute request asynchronously Returns: @@ -530,9 +530,9 @@ def __fetch( ): """Fetch # noqa: E501 - The `Fetch` operation looks up and returns vectors, by ID, from a single namespace. The returned vectors include the vector data and/or metadata. # noqa: E501 + The `Fetch` operation looks up and returns vectors by ID from a single namespace. The returned vectors include the vector data and metadata. # noqa: E501 This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + asynchronous HTTP request, pass async_req=True >>> thread = api.fetch(ids, async_req=True) >>> result = thread.get() @@ -542,24 +542,24 @@ def __fetch( Keyword Args: namespace (str): [optional] - _return_http_data_only (bool): response data without head status + _return_http_data_only (bool): Response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. + is returned without reading or decoding response data. Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also + _request_timeout (int/float/tuple): The timeout setting for this request. If + one number is provided, it is the total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. + _check_input_type (bool): Specifies if type checking + should be done on the data sent to the server. Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. + _check_return_type (bool): Specifies if type checking + should be done on the data received from the server. Default is True. - _host_index (int/None): specifies the index of the server + _host_index (int/None): Specifies the index of the server that we want to use. - Default is read from the configuration. + Default is to read from the configuration. async_req (bool): execute request asynchronously Returns: @@ -656,9 +656,9 @@ def __query( ): """Query # noqa: E501 - The `Query` operation searches a namespace, using a query vector. It retrieves the ids of the most similar items in a namespace, along with their similarity scores. # noqa: E501 + The `Query` operation searches a namespace using a query vector. It retrieves the IDs of the most similar records in a namespace along with their similarity scores. # noqa: E501 This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + asynchronous HTTP request, pass async_req=True >>> thread = api.query(query_request, async_req=True) >>> result = thread.get() @@ -667,24 +667,24 @@ def __query( query_request (QueryRequest): Keyword Args: - _return_http_data_only (bool): response data without head status + _return_http_data_only (bool): Return response data without head status code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. + _preload_content (bool): If False, the urllib3.HTTPResponse object + is returned without reading or decoding response data. Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also + _request_timeout (int/float/tuple): The timeout setting for this request. If + one number is provided, it is the total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. + _check_input_type (bool): Specifies if type checking + should be done on the data sent to the server. Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. + _check_return_type (bool): Specifies if type checking + should be done on the data received from the server. Default is True. - _host_index (int/None): specifies the index of the server + _host_index (int/None): Specifies the index of the server that we want to use. - Default is read from the configuration. + Default is to read from the configuration. async_req (bool): execute request asynchronously Returns: @@ -776,9 +776,9 @@ def __update( ): """Update # noqa: E501 - The `Update` operation updates vector in a namespace. If a value is included, it will overwrite the previous value. If a set_metadata is included, the values of the fields specified in it will be added or overwrite the previous value. # noqa: E501 + The `Update` operation updates a vector in a namespace. If a value is included, it overwrites the previous value. If set_metadata is included, the values of the fields specified in it are added to or overwrite the previous values. # noqa: E501 This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + asynchronous HTTP request, pass async_req=True >>> thread = api.update(update_request, async_req=True) >>> result = thread.get() @@ -787,24 +787,24 @@ def __update( update_request (UpdateRequest): Keyword Args: - _return_http_data_only (bool): response data without head status + _return_http_data_only (bool): Response head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. + is returned without reading or decoding response data. Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also + _request_timeout (int/float/tuple): The timeout setting for this request. If + one number is provided, it is the total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. + _check_input_type (bool): Specifies if type checking + should be done on the data sent to the server. Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. + _check_return_type (bool): Specifies if type checking + should be done on the data received from the server. Default is True. - _host_index (int/None): specifies the index of the server + _host_index (int/None): Specifies the index of the server that we want to use. - Default is read from the configuration. + Default is to read from the configuration. async_req (bool): execute request asynchronously Returns: @@ -896,9 +896,9 @@ def __upsert( ): """Upsert # noqa: E501 - The `Upsert` operation writes vectors into a namespace. If a new value is upserted for an existing vector id, it will overwrite the previous value. # noqa: E501 + The `Upsert` operation writes vectors into a namespace. If a new value is upserted for an existing vector ID, it overwrites the previous value. # noqa: E501 This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True + asynchronous HTTP request, pass async_req=True >>> thread = api.upsert(upsert_request, async_req=True) >>> result = thread.get() @@ -907,24 +907,24 @@ def __upsert( upsert_request (UpsertRequest): Keyword Args: - _return_http_data_only (bool): response data without head status + _return_http_data_only (bool): Return response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. + is returned without reading or decoding response data. Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also + _request_timeout (int/float/tuple): The timeout setting for this request. If + one number is provided, it is the total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. + _check_input_type (bool): Specifies if type checking + should be done on the data sent to the server. Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. + _check_return_type (bool): Specifies if type checking + should be done on the data received from the server. Default is True. - _host_index (int/None): specifies the index of the server + _host_index (int/None): Specifies the index of the server that we want to use. - Default is read from the configuration. + Default is to read from the configuration. async_req (bool): execute request asynchronously Returns: