Facing the same issue in oci linux VM. I had installed 23 ai database and followed all the steps to create vector user and all but while trying to load the onnx model its giving error.
Disconnected from Oracle Database 23ai Free Release 23.0.0.0.0 - Develop, Learn, and Run for Free
Version 23.5.0.24.07
[oracle@23aidemo ~]$ sqlplus vector_user/Oracle_4U@FREEPDB1
SQL*Plus: Release 23.0.0.0.0 - Production on Fri Nov 15 07:28:28 2024
Version 23.5.0.24.07
Copyright (c) 1982, 2024, Oracle. All rights reserved.
Last Successful login time: Fri Nov 15 2024 07:25:55 +00:00
Connected to:
Oracle Database 23ai Free Release 23.0.0.0.0 - Develop, Learn, and Run for Free
Version 23.5.0.24.07
SQL> exec DBMS_VECTOR.DROP_ONNX_MODEL(model_name => 'ALL_MINILM_L12_V2', force => true);
PL/SQL procedure successfully completed.
SQL> BEGIN
DBMS_VECTOR.LOAD_ONNX_MODEL(
directory => 'DM_DUMP',
file_name => 'all_MiniLM_L12_v2.onnx',
model_name => 'ALL_MINILM_L12_V2',
metadata => JSON('{"function" : "embedding", "embeddingOutput" : "embedding", "input": {"input": ["DATA"]}}'));
END;
/
2 3 4 5 6 7 8
BEGIN
*
ERROR at line 1:
ORA-40216: feature not supported
ORA-06512: at "SYS.DBMS_VECTOR", line 906
ORA-06512: at "SYS.DBMS_DATA_MINING", line 5767
ORA-06512: at "SYS.DBMS_VECTOR", line 901
ORA-06512: at line 2
Help: https://docs.oracle.com/error-help/db/ora-40216/
SQL> SQL>
Can anyone help here.