zed/crates/semantic_index
KCaverly a892a51ec3 update initialize project call to accomodate for test scenarios
Co-authored-by: Piotr <piotr@zed.dev>
2023-08-24 13:46:43 +02:00
..
src update initialize project call to accomodate for test scenarios 2023-08-24 13:46:43 +02:00
Cargo.toml added sha1 encoding for each document 2023-08-21 16:35:57 +02:00
README.md rename vector_store crate to semantic_index 2023-07-17 17:06:10 -04:00

WIP: Sample SQL Queries /*

create table "files" ( "id" INTEGER PRIMARY KEY, "path" VARCHAR, "sha1" VARCHAR, );

create table symbols ( "file_id" INTEGER REFERENCES("files", "id") ON CASCADE DELETE, "offset" INTEGER, "embedding" VECTOR, );

insert into "files" ("path", "sha1") values ("src/main.rs", "sha1") return id; insert into symbols ( "file_id", "start", "end", "embedding" ) values ( (id,), (id,), (id,), (id,), )

*/