@@ -321,11 +321,11 @@ def test_basic_config():
321321 },
322322 ),
323323 (
324- Configure .Vectorizer .text2vec_palm (
324+ Configure .Vectorizer .text2vec_google (
325325 project_id = "project" ,
326326 ),
327327 {
328- "text2vec-palm " : {
328+ "text2vec-google " : {
329329 "projectId" : "project" ,
330330 "vectorizeClassName" : True ,
331331 }
@@ -336,7 +336,7 @@ def test_basic_config():
336336 project_id = "project" ,
337337 ),
338338 {
339- "text2vec-palm " : {
339+ "text2vec-google " : {
340340 "projectId" : "project" ,
341341 "vectorizeClassName" : True ,
342342 }
@@ -345,21 +345,21 @@ def test_basic_config():
345345 (
346346 Configure .Vectorizer .text2vec_google_aistudio (),
347347 {
348- "text2vec-palm " : {
348+ "text2vec-google " : {
349349 "apiEndpoint" : "generativelanguage.googleapis.com" ,
350350 "vectorizeClassName" : True ,
351351 }
352352 },
353353 ),
354354 (
355- Configure .Vectorizer .text2vec_palm (
355+ Configure .Vectorizer .text2vec_palm ( # not changed to text2vec_google to ensure BC
356356 project_id = "project" ,
357357 api_endpoint = "api.google.com" ,
358358 model_id = "model" ,
359359 vectorize_collection_name = False ,
360360 ),
361361 {
362- "text2vec-palm " : {
362+ "text2vec-google " : {
363363 "projectId" : "project" ,
364364 "apiEndpoint" : "api.google.com" ,
365365 "modelId" : "model" ,
@@ -375,7 +375,7 @@ def test_basic_config():
375375 vectorize_collection_name = False ,
376376 ),
377377 {
378- "text2vec-palm " : {
378+ "text2vec-google " : {
379379 "projectId" : "project" ,
380380 "apiEndpoint" : "api.google.com" ,
381381 "modelId" : "model" ,
@@ -520,7 +520,7 @@ def test_basic_config():
520520 },
521521 ),
522522 (
523- Configure .Vectorizer .multi2vec_palm (
523+ Configure .Vectorizer .multi2vec_palm ( # not changed to _google to ensure BC
524524 image_fields = ["image" ],
525525 text_fields = ["text" ],
526526 video_fields = ["video" ],
@@ -529,7 +529,7 @@ def test_basic_config():
529529 location = "us-central1" ,
530530 ),
531531 {
532- "multi2vec-palm " : {
532+ "multi2vec-google " : {
533533 "imageFields" : ["image" ],
534534 "textFields" : ["text" ],
535535 "videoFields" : ["video" ],
@@ -549,7 +549,7 @@ def test_basic_config():
549549 location = "us-central1" ,
550550 ),
551551 {
552- "multi2vec-palm " : {
552+ "multi2vec-google " : {
553553 "imageFields" : ["image" ],
554554 "textFields" : ["text" ],
555555 "videoFields" : ["video" ],
@@ -1637,7 +1637,7 @@ def test_vector_config_flat_pq() -> None:
16371637 {
16381638 "test" : {
16391639 "vectorizer" : {
1640- "text2vec-palm " : {
1640+ "text2vec-google " : {
16411641 "projectId" : "project" ,
16421642 "properties" : ["prop" ],
16431643 "vectorizeClassName" : True ,
@@ -1658,7 +1658,7 @@ def test_vector_config_flat_pq() -> None:
16581658 {
16591659 "test" : {
16601660 "vectorizer" : {
1661- "text2vec-palm " : {
1661+ "text2vec-google " : {
16621662 "projectId" : "project" ,
16631663 "properties" : ["prop" ],
16641664 "vectorizeClassName" : True ,
@@ -1678,7 +1678,7 @@ def test_vector_config_flat_pq() -> None:
16781678 {
16791679 "test" : {
16801680 "vectorizer" : {
1681- "text2vec-palm " : {
1681+ "text2vec-google " : {
16821682 "apiEndpoint" : "generativelanguage.googleapis.com" ,
16831683 "properties" : ["prop" ],
16841684 "vectorizeClassName" : True ,
@@ -1815,7 +1815,7 @@ def test_vector_config_flat_pq() -> None:
18151815 {
18161816 "test" : {
18171817 "vectorizer" : {
1818- "multi2vec-palm " : {
1818+ "multi2vec-google " : {
18191819 "imageFields" : ["image" ],
18201820 "textFields" : ["text" ],
18211821 "projectId" : "project" ,
@@ -1839,7 +1839,7 @@ def test_vector_config_flat_pq() -> None:
18391839 {
18401840 "test" : {
18411841 "vectorizer" : {
1842- "multi2vec-palm " : {
1842+ "multi2vec-google " : {
18431843 "imageFields" : ["image" ],
18441844 "textFields" : ["text" ],
18451845 "projectId" : "project" ,
@@ -2165,7 +2165,7 @@ def test_config_with_named_vectors(
21652165 {
21662166 "test" : {
21672167 "vectorizer" : {
2168- "text2vec-palm " : {
2168+ "text2vec-google " : {
21692169 "projectId" : "project" ,
21702170 "properties" : ["prop" ],
21712171 "vectorizeClassName" : True ,
@@ -2187,7 +2187,7 @@ def test_config_with_named_vectors(
21872187 {
21882188 "test" : {
21892189 "vectorizer" : {
2190- "text2vec-palm " : {
2190+ "text2vec-google " : {
21912191 "apiEndpoint" : "generativelanguage.googleapis.com" ,
21922192 "properties" : ["prop" ],
21932193 "vectorizeClassName" : True ,
@@ -2322,7 +2322,7 @@ def test_config_with_named_vectors(
23222322 {
23232323 "test" : {
23242324 "vectorizer" : {
2325- "multi2vec-palm " : {
2325+ "multi2vec-google " : {
23262326 "imageFields" : ["image" ],
23272327 "textFields" : ["text" ],
23282328 "projectId" : "project" ,
0 commit comments