External embedding in Oracle 23ai

Embed data in Python and store the vector in Oracle 23ai I wrote about Vector search in Oracle 23ai in Oracle Database 23ai and Vector Search. Part of the process was embedding chunks of data in the database and add the embeddings as a VECTOR data type in a new table. In this part I use Python to do the embedding outside the database and store the result as a VECTOR in the database using the oracledb module. The Python code does not call any external API, but performs the embedding on my computer using downloaded models from HuggingFace. ...

December 19, 2024 · 11 min · Øyvind Isene

OML4Py Client on Ubuntu

Update: See this post for an update for version 2.1 on Oracle Linux. How to install OML4Py Client on Ubuntu 22.04 I needed the Oracle Machine Learning for Python (OML4Py) Client (not the Server) in order to convert a pretrained model so that I could import it into the newly released Oracle database 23ai. I wrote this from information I found in the User’s Guide and a lot of internet search. The PC I am using for this runs Ubuntu, so I adapted the installation for Ubuntu 22.04 (Jammy Jellyfish). After I completed the whole procedure I decided to verify it on a fresh Vagrant box: ...

May 13, 2024 · 3 min · Øyvind Isene