@@ -151,7 +151,7 @@ public void testNearText() throws IOException {
151151 client .collections .create (nsSongs ,
152152 col -> col
153153 .properties (Property .text ("title" ))
154- .vectorConfig (VectorConfig .text2vecContextionary ()));
154+ .vectorConfig (VectorConfig .text2VecTransformers ()));
155155
156156 var songs = client .collections .use (nsSongs );
157157 var submarine = songs .data .insert (Map .of ("title" , "Yellow Submarine" ));
@@ -173,7 +173,7 @@ public void testNearText() throws IOException {
173173
174174 @ Test
175175 public void testNearText_groupBy () throws IOException {
176- var vectorizer = VectorConfig .text2vecContextionary ();
176+ var vectorizer = VectorConfig .text2VecTransformers ();
177177
178178 var nsArtists = ns ("Artists" );
179179 client .collections .create (nsArtists ,
@@ -370,7 +370,7 @@ public void testNearObject() throws IOException {
370370 client .collections .create (nsAnimals ,
371371 collection -> collection
372372 .properties (Property .text ("kind" ))
373- .vectorConfig (VectorConfig .text2vecContextionary ()));
373+ .vectorConfig (VectorConfig .text2VecTransformers ()));
374374
375375 var animals = client .collections .use (nsAnimals );
376376
@@ -399,7 +399,7 @@ public void testHybrid() throws IOException {
399399 client .collections .create (nsHobbies ,
400400 collection -> collection
401401 .properties (Property .text ("name" ), Property .text ("description" ))
402- .vectorConfig (VectorConfig .text2vecContextionary ()));
402+ .vectorConfig (VectorConfig .text2VecTransformers ()));
403403
404404 var hobbies = client .collections .use (nsHobbies );
405405
@@ -432,7 +432,7 @@ public void testBadRequest() throws IOException {
432432 client .collections .create (nsThings ,
433433 collection -> collection
434434 .properties (Property .text ("name" ))
435- .vectorConfig (VectorConfig .text2vecContextionary ()));
435+ .vectorConfig (VectorConfig .text2VecTransformers ()));
436436
437437 var things = client .collections .use (nsThings );
438438 var balloon = things .data .insert (Map .of ("name" , "balloon" ));
@@ -449,7 +449,7 @@ public void testBadRequest_async() throws Throwable {
449449 async .collections .create (nsThings ,
450450 collection -> collection
451451 .properties (Property .text ("name" ))
452- .vectorConfig (VectorConfig .text2vecContextionary ()))
452+ .vectorConfig (VectorConfig .text2VecTransformers ()))
453453 .join ();
454454
455455 var things = async .collections .use (nsThings );
@@ -470,7 +470,7 @@ public void testMetadataAll() throws IOException {
470470 client .collections .create (nsThings ,
471471 c -> c
472472 .properties (Property .text ("name" ))
473- .vectorConfig (VectorConfig .text2vecContextionary (
473+ .vectorConfig (VectorConfig .text2VecTransformers (
474474 t2v -> t2v .sourceProperties ("name" ))));
475475
476476 var things = client .collections .use (nsThings );
@@ -563,7 +563,7 @@ public void testGenerative_bm25() throws IOException {
563563 c -> c
564564 .properties (Property .text ("title" ))
565565 .generativeModule (new DummyGenerative ())
566- .vectorConfig (VectorConfig .text2vecContextionary (
566+ .vectorConfig (VectorConfig .text2VecTransformers (
567567 t2v -> t2v .sourceProperties ("title" ))));
568568
569569 var things = client .collections .use (nsThings );
@@ -604,7 +604,7 @@ public void testGenerative_bm25_groupBy() throws IOException {
604604 c -> c
605605 .properties (Property .text ("title" ))
606606 .generativeModule (new DummyGenerative ())
607- .vectorConfig (VectorConfig .text2vecContextionary (
607+ .vectorConfig (VectorConfig .text2VecTransformers (
608608 t2v -> t2v .sourceProperties ("title" ))));
609609
610610 var things = client .collections .use (nsThings );
0 commit comments