Skip to content

Commit 350d231

Browse files
committed
Add dimensions to text2vec-transformers test
1 parent b38dbf3 commit 350d231

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/collections/configure/unit.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,7 @@ describe('Unit testing of the vectorizer factory class', () => {
14631463
const config = configure.vectors.text2VecTransformers({
14641464
name: 'test',
14651465
poolingStrategy: 'pooling-strategy',
1466+
dimensions: 512,
14661467
});
14671468
expect(config).toEqual<VectorConfigCreate<never, 'test', 'hnsw', 'text2vec-transformers'>>({
14681469
name: 'test',
@@ -1474,6 +1475,7 @@ describe('Unit testing of the vectorizer factory class', () => {
14741475
name: 'text2vec-transformers',
14751476
config: {
14761477
poolingStrategy: 'pooling-strategy',
1478+
dimensions: 512,
14771479
},
14781480
},
14791481
});

0 commit comments

Comments
 (0)