Is it possible to do a pagination?
I tried the following
SELECT
*
FROM %s
WHERE embedding MATCH vec_quantize_binary(%s)
AND k = %d
LIMIT %d OFFSET %d
but got an error
Only LIMIT or 'k =?' can be provided, not both
I am planning to implement something like this:
SELECT
*
FROM %s
WHERE embedding MATCH vec_quantize_binary(%s)
ORDER BY distance
LIMIT %d OFFSET %d
but wonder. Is there a better way to do it?
Thank you very much!
Is it possible to do a pagination?
I tried the following
but got an error
I am planning to implement something like this:
but wonder. Is there a better way to do it?
Thank you very much!