mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +02:00
docs
This commit is contained in:
parent
dbc5098114
commit
a2dd24f27e
2 changed files with 43 additions and 12 deletions
|
|
@ -40,7 +40,7 @@ for a more complete Python demo.
|
|||
|
||||
If your vectors in Python are provided as a list of floats, you can
|
||||
convert them into the compact BLOB format that `sqlite-vec` uses with
|
||||
`serialize_float32()`. This will internally call [`struct.pack()`](https://docs.python.org/3/library/struct.html#struct.pack).
|
||||
`serialize_float32()`. This internally calls [`struct.pack()`](https://docs.python.org/3/library/struct.html#struct.pack).
|
||||
|
||||
```python
|
||||
from sqlite_vec import serialize_float32
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue