lülülülü

This commit is contained in:
Jonas Braus
2024-12-11 23:01:11 +01:00
parent fde7e7570a
commit 13a87a812b
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ def prompt_embedding(prompt):
)
cur = conn.cursor()
cur.execute(f"select id, doc_id, filepath, embedding <-> %s::vector as distance from dbtable order by distance limit 3;", (embedding["embedding"],))
cur.execute(f"select id, filepath, embedding <-> %s::vector as distance from dbtable order by distance limit 3;", (embedding["embedding"],))
result = cur.fetchall()