Skip to content

Commit 9f1b9a6

Browse files
authored
Update 4_calculate_vector_embeddings.sql
changed description
1 parent b3c2718 commit 9f1b9a6

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

data-platform/core-converged-db/ai-vector-search/files/4_calculate_vector_embeddings.sql

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
REM Calculate embeddings directly in the database
22

3-
/* The ONNX file in this example was generated by Oracle OML4Py utility from the all-MiniLM-L6-v2 sentence transformer model.
4-
It can be downloaded [here](https://objectstorage.eu-frankfurt-1.oraclecloud.com/n/fro8fl9kuqli/b/AIVECTORS/o/all-MiniLM-L6-v2.onnx)
5-
Copy the all-MiniLM-L6-v2.onnx file to the path corresponding to the DM_DUMP directory.*/ 
6-
7-
83
-- connect to the VECTOR_USER
94

105
connect vector_user/Oracle_4U@FREEPDB1
116

12-
137
-- create table CCNEWS
14-
158
create table if not exists CCNEWS (
169
id number(10) not null,
1710
info VARCHAR2(4000),
@@ -29,4 +22,4 @@ select rownum,
2922
from CCNEWS_TMP;
3023

3124

32-
commit;
25+
commit;

0 commit comments

Comments
 (0)