MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_embed

Function test_embed

atomic-repository/src/repository/vault_embeddings.rs:303–305  ·  view source on GitHub ↗
(text: &str)

Source from the content-addressed store, hash-verified

301 use atomic_core::pristine::vault::VaultEntryType;
302
303 fn test_embed(text: &str) -> Vec<f32> {
304 hash_embed(text, 8) // tiny dims for tests
305 }
306
307 #[test]
308 fn test_chunk_by_heading() {

Callers

nothing calls this directly

Calls 1

hash_embedFunction · 0.85

Tested by

no test coverage detected