You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @sky92archangel, if you have two %s values in the query, you need to pass two parameters. See the Psycopg 2 docs for more info (this isn’t specific to pgvector).
Here is my data in table called items :
code:
run the code ,then get error :
if I change the query string to
it will be fine ,and return the result :
so I guess the problem occur at "SELECT 1-(embedding <-> %s) FROM items";
SO, WHAT'S HAPPEND ABOUT THE FEATURE ?
The text was updated successfully, but these errors were encountered: