Skip to content

Commit 83901e0

Browse files
Update README.md
1 parent bd95215 commit 83901e0

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

  • data-platform/autonomous-ai-database/autonomous-ai-json/oracle-ai-json-text-vector-support
Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,22 @@
1-
readme
1+
This repository contains scripts and data demonstrating how to use Oracle Text and Oracle Vector Search with JSON data
2+
- DATA directory stores sample data
3+
- LABS directory stores two scripts :
4+
- demo.sql containing SQL code
5+
- demo.js containing NodeJS code, which can be executed in mongosh tool when connected to Oracle API for MongoDB
6+
7+
Prerequisites
8+
- the following privileges and roles have to be granted to database user, which will be used:
9+
SODA_APP, CONNECT, RESOURCE, EXECUTE ON DBMS_CLOUD, EXECUTE ON DBMS_VECTOR
10+
- all_MiniLM_L12_v2.onnx model, which is used to generate embeddings, it can be downloaded from the following URL :
11+
https://adwc4pm.objectstorage.us-ashburn-1.oci.customer-oci.com/p/eLddQappgBJ7jNi6Guz9m9LOtYe2u8LWY19GfgU8flFK4N9YgP4kTlrE9Px3pE12/n/adwc4pm/b/OML-Resources/o/all_MiniLM_L12_v2.onnx
12+
- after downloading this model there is need to upload it to an Object Storage bucket
13+
- sample data from DATA directory need to be uploaded to an Object Storage bucket
14+
- Demonstration should be started from running SQL part,
15+
as demo.js assumes that all database structures (views, tables, etc) are already created.
16+
17+
License
18+
Copyright (c) 2024 Oracle and/or its affiliates.
19+
20+
Licensed under the Universal Permissive License (UPL), Version 1.0.
21+
22+
See LICENSE for more details.

0 commit comments

Comments
 (0)