ZIm/crates/semantic_index
Kyle Caverly fd373517c7 update semantic search to show no results if search query is blank (#2942)
Update semantic search to show no search results if search query is
blank
2023-09-07 14:58:49 -04:00
..
src update semantic search to show no results if search query is blank (#2942) 2023-09-07 14:58:49 -04:00
Cargo.toml Rework how we track projects and worktrees in semantic index (#2938) 2023-09-07 19:47:12 +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,), )

*/