Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Instead of installing Python libraries directly on your laptop, you will run all

* [Oracle Database Free Container Image](https://container-registry.oracle.com)
* [Podman Documentation](https://docs.podman.io)
* [Oracle AI Vector Search Overview](https://docs.oracle.com/en/database/oracle/oracle-database/23/vecse/overview-ai-vector-search.html)
* [Oracle AI Vector Search Overview](https://docs.oracle.com/en/database/oracle/oracle-database/26/vecse/overview-ai-vector-search.html)

## Acknowledgements
* **Author** - Oracle LiveLabs Team
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ This single pattern works for every lab. You edit files locally with your prefer
## Learn More

* [python-oracledb Documentation](https://python-oracledb.readthedocs.io/)
* [Oracle Database 23ai Vector Search](https://docs.oracle.com/en/database/oracle/oracle-database/23/vecse/)
* [Oracle Database 23ai Vector Search](https://docs.oracle.com/en/database/oracle/oracle-database/26/vecse/)

## Acknowledgements
* **Author** - Oracle LiveLabs Team
Expand Down
6 changes: 3 additions & 3 deletions vector-search-on-laptop/lab3-load-onnx/lab3-load-onnx.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ The ONNX model is stored in `~/hero/models/` on your laptop. Oracle Database nee

## Learn More

* [DBMS_VECTOR.LOAD_ONNX_MODEL Documentation](https://docs.oracle.com/en/database/oracle/oracle-database/23/vecse/dbms_vector-load_onnx_model.html)
* [VECTOR_EMBEDDING Function](https://docs.oracle.com/en/database/oracle/oracle-database/23/vecse/vector_embedding.html)
* [Oracle Pre-built ONNX Models](https://docs.oracle.com/en/database/oracle/oracle-database/23/vecse/import-onnx-models-oracle-database-end-end-example.html)
* [DBMS_VECTOR.LOAD_ONNX_MODEL Documentation](https://docs.oracle.com/en/database/oracle/oracle-database/26/vecse/dbms_vector-load_onnx_model.html)
* [VECTOR_EMBEDDING Function](https://docs.oracle.com/en/database/oracle/oracle-database/26/vecse/vector_embedding.html)
* [Oracle Pre-built ONNX Models](https://docs.oracle.com/en/database/oracle/oracle-database/26/vecse/import-onnx-models-oracle-database-end-end-example.html)

## Acknowledgements
* **Author** - Oracle LiveLabs Team
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,8 @@ This lab assumes you have:
## Learn More

* [VECTOR_CHUNKS Function Documentation](https://docs.oracle.com/en/database/oracle/oracle-database/26/vecse/chunking-and-vector-generation-functions.html)
* [VECTOR_DISTANCE Function](https://docs.oracle.com/en/database/oracle/oracle-database/23/vecse/vector_distance.html)
* [Oracle AI Vector Search Indexes](https://docs.oracle.com/en/database/oracle/oracle-database/23/vecse/manage-different-categories-vector-indexes.html)
* [VECTOR_DISTANCE Function](https://docs.oracle.com/en/database/oracle/oracle-database/26/vecse/vector_distance.html)


## Acknowledgements
* **Author** - Oracle LiveLabs Team
Expand Down
55 changes: 51 additions & 4 deletions vector-search-on-laptop/lab5-flask-app/lab5-flask-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ This lab assumes you have:
</copy>
```

## Task 2: Create the HTML Templates
## Task 2: Download the HTML Templates

1. Download the templates into `~/hero/webapp/templates/`:

Expand Down Expand Up @@ -373,13 +373,60 @@ This lab assumes you have:

7. To stop the Flask server, press **Ctrl+C** in the terminal running the server.

> **Note:** The Flask development server is for local testing only. For production deployments, use a WSGI server such as Gunicorn. To restart the server later without restarting the containers, simply run the same `podman exec -it python-runner python /workshop/webapp/app.py` command again.
## Task 4: Container Maintenance

Use these commands on your laptop to manage the containers created in earlier labs.

### Stop the containers

```bash
<copy>podman stop python-runner oracle-ai-db</copy>
```

### Start the containers again

```bash
<copy>podman start oracle-ai-db python-runner</copy>
```

### Remove the containers

> **Note:** Removing containers does not delete your images, but it will remove container state. If you want to keep your data, make sure you have a named volume or host mount.

```bash
<copy>podman rm -f python-runner oracle-ai-db</copy>
```

### Remove the network (optional)

If you created a custom Podman network in earlier labs, remove it after stopping and removing the containers.

```bash
<copy>podman network ls</copy>
```

```bash
<copy>podman network rm hero-net</copy>
```

### Remove the images (optional)

List images and remove the ones you created for this workshop.

```bash
<copy>podman images</copy>
```

```bash
<copy>podman rmi hero-python oracle-ai-db</copy>
```


## Learn More

* [Flask Documentation](https://flask.palletsprojects.com/)
* [Oracle AI Vector Search - Similarity Search](https://docs.oracle.com/en/database/oracle/oracle-database/23/vecse/perform-exact-similarity-search.html)
* [Oracle Vector Indexes - HNSW](https://docs.oracle.com/en/database/oracle/oracle-database/23/vecse/manage-different-categories-vector-indexes.html)
* [Oracle AI Vector Search - Similarity Search](https://docs.oracle.com/en/database/oracle/oracle-database/26/vecse/perform-exact-similarity-search.html)


## Acknowledgements
* **Author** - Oracle LiveLabs Team
Expand Down