in my case, when I changed the sql, the issue was fixed.
old sql: where (embedding <=> %s) < 0.37
new sql: where (embedding <=> %s::vector) < 0.37