Skip to content

Commit 2ab73b8

Browse files
Update API.md for vector_quantize_cleanup function
1 parent 0d809fd commit 2ab73b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

API.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ SELECT vector_quantize_preload('documents', 'embedding');
157157
**Returns:** `NULL`
158158

159159
**Description:**
160-
Releases memory previously allocated by a vector_quantize_preload call and removes all quantization entries associated with the specified table and column.
161-
Use this function when the underlying data has changed or when quantization is no longer required. In some cases, running VACUUM may be necessary to reclaim the freed space from the database.
160+
Releases memory previously allocated by a `vector_quantize_preload` call and removes all quantization entries associated with the specified table and column.
161+
Use this function when quantization is no longer required. In some cases, running VACUUM may be necessary to reclaim the freed space from the database.
162162

163-
This function should only be called when quantization is no longer needed. If the data changes and you invoke vector_quantize, the old quantization data is automatically replaced.
163+
If the data changes and you invoke `vector_quantize`, the existing quantization data is automatically replaced. In that case, calling this function is unnecessary.
164164

165165
**Example:**
166166

0 commit comments

Comments
 (0)