mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 00:36:56 +02:00
doc updates
This commit is contained in:
parent
df48ac2416
commit
b62f6f19a8
31 changed files with 751 additions and 97 deletions
|
|
@ -479,13 +479,12 @@ def test_vec_quantize_i8():
|
|||
).fetchone()[0]
|
||||
assert vec_quantize_i8() == 111
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="TODO")
|
||||
def test_vec_quantize_binary():
|
||||
vec_quantize_binary = lambda *args: db.execute(
|
||||
"select vec_quantize_binary()", args
|
||||
vec_quantize_binary = lambda *args, input="?": db.execute(
|
||||
f"select vec_quantize_binary({input})", args
|
||||
).fetchone()[0]
|
||||
assert vec_quantize_binary() == 111
|
||||
assert vec_quantize_binary("[-1, -1, -1, -1, 1, 1, 1, 1]") == 111
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="TODO")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue