You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 67694d1
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+88-71Lines changed: 88 additions & 71 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,9 @@
8
8
9
9
## 🚀 About
10
10
11
-
Oracle VecDB Python SDK is the Python client for the Oracle AI Database (26ai+). It covers both Autonomous AI Vector Database deployments and customer-managed Oracle AI Database instances where ORDS is enabled, offering simple APIs for vector table management, indexing, search, and inference operations.
11
+
Oracle VecDB Python SDK provides a Python-native interface for building vector search and AI applications with Oracle AI Database 23.26.3 and later. It supports both Autonomous AI Vector Database deployments and customer-managed Oracle AI Database instances exposed through ORDS 26.2.2 or later.
12
12
13
+
The SDK provides straightforward APIs for creating and managing vector tables and indexes, executing vector similarity searches, and invoking inference operations—allowing developers to integrate Oracle AI Database vector capabilities into Python applications with minimal setup and boilerplate.
13
14
14
15
## ✨ Highlights
15
16
@@ -18,17 +19,32 @@ Oracle VecDB Python SDK is the Python client for the Oracle AI Database (26ai+).
18
19
- 🧠 Run embeddings & inference flows via Oracle AI Database models
19
20
- 🔄 Integrate vector search, filtering, and RAG-style pipelines quickly
20
21
21
-
22
22
## 📦 Installation
23
23
24
24
```bash
25
-
pip install oracle-vecdb
25
+
python -m pip install --upgrade oracle-vecdb
26
26
```
27
27
28
-
**Requires:** Python 3.10+
28
+
## 🚀 Quickstart
29
29
30
+
See the [Oracle VecDB documentation](https://docs.oracle.com/en/cloud/paas/autonomous-vector-database/vcapi/quickstart.html)
31
+
for installation, pre-requisites, and the complete API reference.
30
32
31
-
## 🚀 Quickstart
33
+
This quickstart connects to Oracle VecDB, creates a table with integrated
34
+
embeddings, loads sample records, and runs a filtered similarity search.
Use `INMEMORY GRAPH` organization for an HNSW (Hierarchical Navigable Small
176
+
World) vector index.
168
177
169
178
```python
170
179
vecdb.create_vector_table(
@@ -183,7 +192,11 @@ vecdb.create_vector_table(
183
192
)
184
193
```
185
194
186
-
Query-time HNSW tuning
195
+
#### Query-time HNSW tuning
196
+
197
+
Use `advanced_options` to adjust HNSW runtime search behavior. `efsearch` is
198
+
HNSW-only; use it to control the candidate pool size and balance recall against
199
+
query latency without rebuilding the index.
187
200
188
201
```python
189
202
results = vecdb.query(
@@ -199,28 +212,32 @@ results = vecdb.query(
199
212
)
200
213
```
201
214
215
+
## Examples
202
216
203
-
## 🧪 Sample notebooks & apps
204
-
217
+
- Samples can be found in the [/examples](./examples/) directory.
205
218
-[Sample notebooks](https://github.com/oracle-devrel/oracle-ai-developer-hub/tree/main/notebooks/vecdb) – Guided notebooks for setup, table/index workflows, vector search, and inference via the SDK.
206
219
-[Sample applications](https://github.com/oracle-devrel/oracle-ai-developer-hub/tree/main/apps/vecdb) – Oracle AI Developer Hub apps showcasing ingestion, embeddings, search, filtering, and FastAPI + React/Vite integration using this SDK.
from `oracle_vecdb.data_types`, and use `.model_dump()` or `.to_dict()` when
212
-
you need a plain dictionary representation.
223
+
- Python 3.10 or later.
224
+
- Oracle AI Database 23.26.3 or later with ORDS 26.2.2+ enabled.
225
+
- An Oracle ORDS VecDB endpoint configured with either bearer-token or HTTP Basic authentication.
226
+
227
+
The SDK can be used in applications, notebooks, retrieval-augmented generation
228
+
(RAG) pipelines, and other Python services that need Oracle vector search.
229
+
For setup instructions and guidance on getting started with the VecDB APIs, see the [Oracle VecDB documentation](https://docs.oracle.com/en/cloud/paas/autonomous-vector-database/vcapi/overview.html)
230
+
231
+
## 📚 Documentation and Resources
232
+
233
+
-[Oracle VecDB documentation](https://docs.oracle.com/en/cloud/paas/autonomous-vector-database/vcapi/overview.html) - for detailed API documentation, including features, usage, and reference information.
234
+
-[Customer-managed Oracle AI Database (26ai+) requirements](https://docs.oracle.com/en/database/oracle/oracle-rest-data-services/26.2/) – DB 23.26.3+ with ORDS 26.2.2+, plus TLS/ORDS notes for handling self-signed certificates.
213
235
214
-
-[Autonomous AI Vector Database docs](https://docs.oracle.com/en/cloud/paas/autonomous-vector-database)
215
-
-[Autonomous AI Vector Database setup guide](https://docs.oracle.com/en/cloud/paas/autonomous-vector-database/vecdb/get-started-using-autonomous-ai-vector-database.html)
216
-
-[Customer-managed Oracle AI Database (26ai+) requirements](https://docs.oracle.com/en/database/oracle/oracle-rest-data-services/26.2/) – DB 23.26.3+ with ORDS 26.2.2+, plus TLS/ORDS notes for handling self-signed certificates
0 commit comments