Spaces:
Build error
Build error
File size: 303 Bytes
25fc3a2 |
1 2 3 4 5 6 7 8 9 10 |
from embedding_generator import EmbeddingGenerator
def test_embedding_generator():
embedding_generator = EmbeddingGenerator()
# Test generating embeddings
embeddings = embedding_generator.generate("test query")
assert isinstance(embeddings, list)
assert len(embeddings) == 768
|