import numpy as np
import logging

class MockEmbedder:
    def __init__(self, dimension: int):
        self.dimension = dimension

    def embed_text(self, text: str) -> np.ndarray:
        logging.debug("Generating mock embedding...")
        return np.random.rand(self.dimension).astype('float32').reshape(1, -1)
