Skip to content
Open
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
2 changes: 1 addition & 1 deletion docs/06-concepts/02-models/03-vector-fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ All vector types support specialized distance operations for similarity search a
To ensure optimal performance with vector similarity searches, consider creating specialized vector indexes on your vector fields. See the [Vector indexes](../database/indexing#vector-indexes) section for more details.

:::info
The usage of Vector fields requires the pgvector PostgreSQL extension to be installed, which comes by default on new Serverpod projects. To upgrade an existing project, see the [Upgrading to pgvector support](../../upgrading/upgrade-to-pgvector) guide.
The usage of Vector fields requires the pgvector PostgreSQL extension to be installed, which comes by default on new Serverpod projects. To upgrade an existing project, see the [Upgrade to pgvector](../../upgrading/upgrade-to-pgvector) guide.
:::

## Vector
Expand Down
4 changes: 2 additions & 2 deletions docs/09-upgrading/03-upgrade-to-pgvector.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Upgrading to pgvector support
# Upgrade to pgvector

New Serverpod projects automatically include pgvector support through the `pgvector/pgvector` PostgreSQL Docker image. However, existing projects need to be upgraded to use vector functionality.

Expand All @@ -12,7 +12,7 @@ If trying to use vector fields without upgrading, you will encounter an error wh

## For Docker-based environments

1. Update your `docker-compose.yml` to use a PostgreSQL image with pgvector (e.g., `pgvector/pgvector:pg16`):
1. Update your `docker-compose.yaml` to use a PostgreSQL image with pgvector (e.g., `pgvector/pgvector:pg16`):

```yaml
services:
Expand Down
Loading