Closed lancejpollard closed 4 months ago
Hello there! Super excited to try using this for dictionary definitions! Wanted to cross-post How to do Vector Embedding query in Kysely/PostgreSQL with pgvector? here to see if you had any ideas. Thanks so much for your time.
Hi @lancejpollard, you can use where(cosineDistance('embedding', [1, 2, 3]), '<', 0.1).
where(cosineDistance('embedding', [1, 2, 3]), '<', 0.1)
Hello there! Super excited to try using this for dictionary definitions! Wanted to cross-post How to do Vector Embedding query in Kysely/PostgreSQL with pgvector? here to see if you had any ideas. Thanks so much for your time.