1 viewer
rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off
crates/cre8-app-truth/src/providers/vector_db.rs
Items
const VECTOR_STORE_MAX_BYTES struct VectorRecord type VectorBucket type VectorStore struct VectorDbProvider impl VectorDbProvider impl TruthProvider for VectorDbProvider
Functions
By call-graph weight (PageRank; 1.0 is the average function). 23 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| VectorDbProvider::sanitize_keysrc/providers/vector_db.rs:37 | method | 10 | 4 | 2 | 0 | 3 | |
| VectorDbProvider::sanitize_bucketsrc/providers/vector_db.rs:48 | method | 3 | 1 | 5 | 1 | 1.8 | |
| VectorDbProvider::sanitize_item_keysrc/providers/vector_db.rs:52 | method | 3 | 1 | 3 | 1 | 1.1 | |
| VectorDbProvider::cosine_similaritysrc/providers/vector_db.rs:99 | method | 19 | 6 | 1 | 0 | 1.1 | |
| VectorDbProvider::upsertsrc/providers/vector_db.rs:241 | method | 22 | 1 | 2 | 4 | 1 | |
| VectorDbProvider::read_storesrc/providers/vector_db.rs:56 | method | 12 | 3 | 3 | 1 | 1 | |
| VectorDbProvider::parse_vectorsrc/providers/vector_db.rs:78 | method | 6 | 2 | 2 | 0 | 0.9 | |
| VectorDbProvider::write_storesrc/providers/vector_db.rs:69 | method | 8 | 2 | 2 | 1 | 0.8 | |
| VectorDbProvider::parse_vector_from_jsonsrc/providers/vector_db.rs:85 | method | 13 | 3 | 1 | 0 | 0.8 | |
| VectorDbProvider::vector_search_rowssrc/providers/vector_db.rs:201 | method | 39 | 4 | 1 | 1 | 0.7 | |
| VectorDbProvider::command_vector_upsertsrc/providers/vector_db.rs:264 | method | 9 | 1 | 1 | 2 | 0.6 | |
| VectorDbProvider::command_putsrc/providers/vector_db.rs:274 | method | 6 | 1 | 1 | 2 | 0.6 | |
| VectorDbProvider::command_deletesrc/providers/vector_db.rs:281 | method | 24 | 4 | 1 | 4 | 0.6 | |
| VectorDbProvider::query_getsrc/providers/vector_db.rs:119 | method | 20 | 2 | 1 | 2 | 0.6 | |
| VectorDbProvider::query_listsrc/providers/vector_db.rs:140 | method | 34 | 5 | 1 | 1 | 0.6 | |
| VectorDbProvider::query_vector_searchsrc/providers/vector_db.rs:175 | method | 25 | 1 | 1 | 3 | 0.6 | |
| VectorDbProvider::newsrc/providers/vector_db.rs:33 | method | 3 | 1 | 1 | 0 | 0.5 | |
| VectorDbProvider::idsrc/providers/vector_db.rs:308 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| VectorDbProvider::kindsrc/providers/vector_db.rs:312 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| VectorDbProvider::capabilitiessrc/providers/vector_db.rs:316 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| VectorDbProvider::metadatasrc/providers/vector_db.rs:320 | trait impl | 5 | 1 | 0 | 0 | 0.5 | |
| VectorDbProvider::querysrc/providers/vector_db.rs:326 | trait impl | 13 | 4 | 0 | 4 | 0.5 | |
| VectorDbProvider::commandsrc/providers/vector_db.rs:340 | trait impl | 12 | 4 | 0 | 3 | 0.5 |
Source not readable from this process.