Skip to main content

Module noop

Module noop 

Source
Expand description

No-op embedder for testing without Candle.

This module provides a NoopEmbedder that returns zero-vectors for all embeddings. It’s useful for:

  • Testing without the Candle ML stack
  • Development builds with faster compilation
  • Stubbing embeddings in unit tests

Re-exportsΒ§

use async_trait::async_trait; πŸ”’
use ragfs_core::EmbedError; πŸ”’
use ragfs_core::Embedder; πŸ”’
use ragfs_core::EmbeddingConfig; πŸ”’
use ragfs_core::EmbeddingOutput; πŸ”’
use ragfs_core::Modality; πŸ”’

StructsΒ§

NoopEmbedder
No-op embedder that returns zero-vectors.