DeleteVectorsResponse
Confirms that a vector delete request completed.
For the list of response object types, see Response Objects.
Use DeleteVectorsResponse to inspect the confirmation or status message returned after deleting vector records.
Attributes
| Attribute | Type | Description |
|---|---|---|
message |
str or None |
Confirmation or status message returned by the service. |
Methods
| Method | Return Type | Description |
|---|---|---|
model_dump() |
dict[str, Any] |
Returns a Pydantic dictionary representation of the object. |
model_dump_json() |
str |
Returns a Pydantic JSON string representation of the object. |
to_dict() |
dict[str, Any] |
Returns a dictionary representation compatible with earlier SDK response handling. |
to_json() |
str |
Returns a JSON string representation compatible with earlier SDK response handling. |
to_str() |
str |
Returns a readable string representation compatible with earlier SDK response handling. |
Iterate Attributes
Use the response serialization helper to iterate every public attribute.
response = client.delete_vectors(table_name="product_vectors", ids=["prod_001", "prod_002"])
payload = response.to_dict()
for attribute, value in payload.items():
print(attribute, value)
Sample Response
{
"message": "Deleted 2 vectors."
}
Returned By
Returned by: delete_vectors().