TAPASxHF2 / test_embedding_generator.py
jskinner215's picture
Upload 17 files
25fc3a2
raw
history blame contribute delete
303 Bytes
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