import hashlib import json from pathlib import Path import sqlite3 import tempfile import unittest import numpy as np from rag_pilot import DIMENSIONS, build, search class FixedEmbedder: def windows(self, text): yield text def embed(self, texts): vectors = np.zeros((len(texts), DIMENSIONS), dtype="