Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_embed
Function
test_embed
atomic-repository/src/repository/vault_embeddings.rs:317–319 ·
view source on GitHub ↗
(text: &str)
Source
from the content-addressed store, hash-verified
315
use atomic_core::pristine::vault::VaultEntryType;
316
317
fn test_embed(text: &str) -> Vec<f32> {
318
hash_embed(text, 8) // tiny dims for tests
319
}
320
321
#[test]
322
fn test_chunk_by_heading() {
Callers
1
test_vault_embed_does_not_recreate_chunks_after_concurrent_delete
Function · 0.85
Calls
1
hash_embed
Function · 0.85
Tested by
no test coverage detected