INDEX_ACCURACY_QUERY
Use the DBMS_VECTOR.INDEX_ACCURACY_QUERY
function to verify the accuracy of a vector index for a given query vector, top-K, and target accuracy.
Syntax
DBMS_VECTOR.INDEX_ACCURACY_QUERY (
OWNER_NAME IN VARCHAR2,
INDEX_NAME IN VARCHAR2,
QV IN VECTOR,
TOP_K IN NUMBER,
TARGET_ACCURACY IN NUMBER
) return VARCHAR2;
DBMS_VECTOR.INDEX_ACCURACY_QUERY (
OWNER_NAME IN VARCHAR2,
INDEX_NAME IN VARCHAR2,
QV IN VECTOR,
TOP_K IN NUMBER,
QUERY_PARAM IN JSON
) return VARCHAR2;
Parameters
Table 12-4 INDEX_ACCURACY_QUERY (IN) Parameters of DBMS_VECTOR
Parameter | Description |
---|---|
owner_name |
The name of the vector index owner. |
index_name |
The name of the vector index. |
qv |
Specifies the query vector. |
top_k |
The |
target_accuracy |
The target accuracy value for the vector index. |
For information about determining the accuracy of your vector indexes, see Index Accuracy Report in Oracle Database AI Vector Search User's Guide.
Parent topic: DBMS_VECTOR