Pinecone has Usage type that exposes ReadUnits consumed for Data Plane operations: https://docs.pinecone.io/reference/api/2024-07/data-plane/query
Currently, only List operations expose it. Adding it to other calls means either changing all return types to tuples, response containers that contain the data and read units, or maybe an Operation<T> wrapper.
I'm not sure if this disruption to the users is beneficial and something they care about enough, so just keeping it as a note here.
Pinecone has
Usagetype that exposesReadUnitsconsumed for Data Plane operations: https://docs.pinecone.io/reference/api/2024-07/data-plane/queryCurrently, only List operations expose it. Adding it to other calls means either changing all return types to tuples, response containers that contain the data and read units, or maybe an
Operation<T>wrapper.I'm not sure if this disruption to the users is beneficial and something they care about enough, so just keeping it as a note here.