These notebooks show end-to-end VecDB ingestion flows for metadata-only, BYO vectors with IDs, and BYO vectors with auto-generated IDs. Open the notebook that matches the scenario you need:
01_integrated_embedding.ipynb – Bulk load metadata into a table with integrated embeddings.02_byov_ids.ipynb – Bulk load bring-your-own vectors with manual IDs.03_byov_auto_ids.ipynb – Bulk load bring-your-own vectors with database-generated IDs.Embedding model prep: Scenario A assumes an embedding model already exists in VecDB. Deploy it beforehand and set
EMBED_MODELin.envto that model’s name. This scenario does not upload or load ONNX artifacts on your behalf.
Fresh example datasets live under bulk_loading/data/ so you can upload them to Object Storage and reuse the signed URL in .env:
| Scenario | Sample file | Columns | .env variable |
Sample PAR |
|---|---|---|---|---|
| Integrated embeddings | bulktable_integrated_embedding.csv |
METADATA, ID |
INTEGRATED_CSV_URL |
https://objectstorage.<region>.oraclecloud.com/p/<PAR_TOKEN>/n/<namespace>/b/<bucket>/o/sample_csv_data/bulktable_integrated_embedding.csv |
| BYO vectors (manual IDs) | bulktable_byov_ids.csv |
ID, DENSE_VECTOR, METADATA |
BYO_MANUAL_CSV_URL |
https://objectstorage.<region>.oraclecloud.com/p/<PAR_TOKEN>/n/<namespace>/b/<bucket>/o/sample_csv_data/bulktable_byov_ids.csv |
| BYO vectors (auto IDs) | bulktable_byov_auto_ids.csv |
DENSE_VECTOR, METADATA |
BYO_AUTO_CSV_URL |
https://objectstorage.<region>.oraclecloud.com/p/<PAR_TOKEN>/n/<namespace>/b/<bucket>/o/sample_csv_data/bulktable_byov_auto_ids.csv |
bulk_loading/data/. Use predictable object names so you can rotate URLs without guessing.curl -T. Example (repeat per file with the right filename):
curl -T bulk_loading/data/bulktable_byov_auto_ids.csv \
"https://objectstorage.<region>.oraclecloud.com/p/<PAR_TOKEN>/n/<namespace>/b/<bucket>/o/sample_csv_data/bulktable_byov_auto_ids.csv"
Replace <PAR_TOKEN>, <namespace>, and <bucket> with your actual values (the sample URLs in the table show the expected shape).
.env. Paste the exact HTTPS URL you used for the upload into INTEGRATED_CSV_URL, BYO_MANUAL_CSV_URL, or BYO_AUTO_CSV_URL as needed. The notebooks download directly from these links."") inside the metadata JSON.Each scenario walks through table provisioning, load_vectors, job inspection, pagination via list_vectors, catalog checks via list_vector_tables, and an automated cleanup at the end so the environment stays tidy.
oracle-vecdb, python-dotenv, and pandas (a %pip install helper cell is provided)..env file that provides:VECDB_REST_URL, VECDB_USERNAME, VECDB_PASSWORD
EMBED_MODEL → name of an embedding model that already exists inside VecDB (deploy it using the model-management example before running Scenario A)EMBED_MODEL_URL → (optional) retained for backward compatibility; Scenario A no longer auto-loads models from Object StorageINTEGRATED_CSV_URL → signed Object Storage URL for bulktable_integrated_embedding.csvBYO_MANUAL_CSV_URL → signed Object Storage URL for bulktable_byov_ids.csvBYO_AUTO_CSV_URL → signed Object Storage URL for bulktable_byov_auto_ids.csvAuto-ID reminder: Scenario C only produces database-generated IDs when the CSV omits the
IDcolumn (or leaves it empty). Create an ID-free dataset (seebulktable_byov_auto_ids.csv), upload it to Object Storage, and pointBYO_AUTO_CSV_URLto that object before running the auto-ID cells.
01_..., 02_..., or 03_...) and run the setup cells to install dependencies and authenticate.Run checklist
- Upload/refresh the CSV in Object Storage.
- Create or verify a PAR and update
.env.- Drop/recreate the scenario table (integrated, BYO-ID, BYO-auto).
- Execute the load job, inspect job logs/details, then move to listings and cleanup.