MCPcopy 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() {

Calls 1

hash_embedFunction · 0.85

Tested by

no test coverage detected