This repository contains the pieces necessary to build a RAG demo using Exadata and Ollama
-
Create an Oracle database to store the RAG application. ' The database needs to be at least DB23ai release 23.6 .
-
Install the latest APEX release into the PDB you are going to be using for the demo. You also need to configure an ORDS server for APEX.
-
Install Ollama on a host, and ensure that ollama can be accessed remotely. You can also pull the models
-
Create the schema for the application and ensure this user has the correct permissions
-
Add the objects for this schema
-
Log into APEX and configure a new workspace for this schema.
-
Log into the workspace in APEX and create a new application using the export file
-
Load the model into the database so you can show both a DB model for embedding, and embedding from ollama
Once completed, you can also use the chunking.png and upload it to the "shared component" static workspace items to have it displayed on page 60.