Skip to content

Commit

Permalink
Fix search tests
Browse files Browse the repository at this point in the history
  • Loading branch information
javitonino committed May 23, 2024
1 parent 3fab9df commit 3c97f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nucliadb/nucliadb/ingest/tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ async def knowledgebox_ingest(
kbid = str(uuid.uuid4())
kbslug = str(uuid.uuid4())
async with maindb_driver.transaction() as txn:
model = SemanticModelMetadata(similarity_function=upb.VectorSimilarity.COSINE)
model = SemanticModelMetadata(similarity_function=upb.VectorSimilarity.COSINE, vector_dimension=len(V1))
await KnowledgeBox.create(txn, kbslug, model, uuid=kbid)
await txn.commit()

Expand Down

0 comments on commit 3c97f5e

Please sign in to comment.