Upgrade Knowledgebase to native pgvector (VECTOR type + ivfflat index)

- Migrated embedding column from double precision[] to VECTOR(1024)
- Now uses native <=> cosine operator for SQL-level vector search
- Added pgvector to requirements
- Fixed collation mismatch on all DBs after pgvector/pgvector:pg18 image swap

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-06 13:21:37 +02:00
parent f9dc61e32c
commit eef9495ecb
2 changed files with 81 additions and 49 deletions
+1
View File
@@ -1,4 +1,5 @@
mcp[cli]
psycopg[binary]
pgvector
voyageai
anthropic