From 80baa1ae3f0ce2d4e7511e03299207409297fd58 Mon Sep 17 00:00:00 2001 From: moon Date: Wed, 9 Aug 2023 23:57:44 -0700 Subject: [PATCH] Fix vector lngth --- agentmemory/postgres.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agentmemory/postgres.py b/agentmemory/postgres.py index d218999..fd26bff 100644 --- a/agentmemory/postgres.py +++ b/agentmemory/postgres.py @@ -172,7 +172,7 @@ def ensure_table_exists(self, category): id SERIAL PRIMARY KEY, document TEXT NOT NULL, metadata JSONB, - embedding VECTOR(1024) + embedding VECTOR(384) ) """ )