feat: Add vector search

This commit is contained in:
William Fu-Hinthorn
2024-11-25 17:09:32 -08:00
parent 1febec7c0d
commit d81e350105
16 changed files with 1636 additions and 391 deletions
@@ -1,12 +1,13 @@
services:
postgres-test:
image: postgres:${POSTGRES_VERSION:-16}
image: pgvector/pgvector:pg${POSTGRES_VERSION:-16}
ports:
- "5441:5432"
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
command: ["postgres", "-c", "shared_preload_libraries=vector"]
healthcheck:
test: pg_isready -U postgres
start_period: 10s