mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 00:36:56 +02:00
docs
This commit is contained in:
parent
4febdff11a
commit
356f75cca7
17 changed files with 350 additions and 166 deletions
15
site/features/knn.md
Normal file
15
site/features/knn.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# KNN queries
|
||||
|
||||
## `vec0` virtual tables
|
||||
|
||||
## Manually with `vec_distance_l2()`
|
||||
|
||||
|
||||
```sql
|
||||
create table items(
|
||||
contents text,
|
||||
contents_embedding float[768] (check vec_f32(contents_embedding))
|
||||
);
|
||||
```
|
||||
|
||||
## Static Blobs
|
||||
Loading…
Add table
Add a link
Reference in a new issue