@@ -720,7 +720,7 @@ def multi2vec_google(
720720 dimensions : Optional [int ] = None ,
721721 image_fields : Optional [Union [List [str ], List [Multi2VecField ]]] = None ,
722722 location : str ,
723- model_id : Optional [str ] = None ,
723+ model : Optional [str ] = None ,
724724 project_id : str ,
725725 text_fields : Optional [Union [List [str ], List [Multi2VecField ]]] = None ,
726726 video_fields : Optional [Union [List [str ], List [Multi2VecField ]]] = None ,
@@ -738,7 +738,7 @@ def multi2vec_google(
738738 dimensions: The number of dimensions to use. Defaults to `None`, which uses the server-defined default.
739739 image_fields: The image fields to use in vectorization.
740740 location: Where the model runs. REQUIRED.
741- model_id : The model ID to use. Defaults to `None`, which uses the server-defined default.
741+ model : The model to use. Defaults to `None`, which uses the server-defined default.
742742 project_id: The project ID to use, REQUIRED.
743743 text_fields: The text fields to use in vectorization.
744744 video_fields: The video fields to use in vectorization.
@@ -754,7 +754,7 @@ def multi2vec_google(
754754 textFields = _map_multi2vec_fields (text_fields ),
755755 videoFields = _map_multi2vec_fields (video_fields ),
756756 dimensions = dimensions ,
757- modelId = model_id ,
757+ modelId = model ,
758758 videoIntervalSeconds = video_interval_seconds ,
759759 ),
760760 vector_index_config = _IndexWrappers .single (vector_index_config , quantizer ),
@@ -1062,7 +1062,7 @@ def text2vec_google(
10621062 name : Optional [str ] = None ,
10631063 quantizer : Optional [_QuantizerConfigCreate ] = None ,
10641064 api_endpoint : Optional [str ] = None ,
1065- model_id : Optional [str ] = None ,
1065+ model : Optional [str ] = None ,
10661066 project_id : str ,
10671067 title_property : Optional [str ] = None ,
10681068 source_properties : Optional [List [str ]] = None ,
@@ -1078,7 +1078,7 @@ def text2vec_google(
10781078 name: The name of the vector.
10791079 quantizer: The quantizer to use for the vector index. If not provided, no quantization will be applied.
10801080 api_endpoint: The API endpoint to use without a leading scheme such as `http://`. Defaults to `None`, which uses the server-defined default
1081- model_id : The model ID to use. Defaults to `None`, which uses the server-defined default.
1081+ model : The model to use. Defaults to `None`, which uses the server-defined default.
10821082 project_id: The project ID to use, REQUIRED.
10831083 title_property: The Weaviate property name for the `gecko-002` or `gecko-003` model to use as the title.
10841084 source_properties: Which properties should be included when vectorizing. By default all text properties are included.
@@ -1094,7 +1094,7 @@ def text2vec_google(
10941094 vectorizer = _Text2VecGoogleConfig (
10951095 projectId = project_id ,
10961096 apiEndpoint = api_endpoint ,
1097- modelId = model_id ,
1097+ modelId = model ,
10981098 vectorizeClassName = vectorize_collection_name ,
10991099 titleProperty = title_property ,
11001100 ),
@@ -1106,7 +1106,7 @@ def text2vec_google_aistudio(
11061106 * ,
11071107 name : Optional [str ] = None ,
11081108 quantizer : Optional [_QuantizerConfigCreate ] = None ,
1109- model_id : Optional [str ] = None ,
1109+ model : Optional [str ] = None ,
11101110 title_property : Optional [str ] = None ,
11111111 source_properties : Optional [List [str ]] = None ,
11121112 vector_index_config : Optional [_VectorIndexConfigCreate ] = None ,
@@ -1120,7 +1120,7 @@ def text2vec_google_aistudio(
11201120 Args:
11211121 name: The name of the vector.
11221122 quantizer: The quantizer to use for the vector index. If not provided, no quantization will be applied.
1123- model_id : The model ID to use. Defaults to `None`, which uses the server-defined default.
1123+ model : The model to use. Defaults to `None`, which uses the server-defined default.
11241124 title_property: The Weaviate property name for the `gecko-002` or `gecko-003` model to use as the title.
11251125 source_properties: Which properties should be included when vectorizing. By default all text properties are included.
11261126 vector_index_config: The configuration for Weaviate's vector index. Use `wvc.config.Configure.VectorIndex` to create a vector index configuration. None by default
@@ -1135,7 +1135,7 @@ def text2vec_google_aistudio(
11351135 vectorizer = _Text2VecGoogleConfig (
11361136 projectId = None ,
11371137 apiEndpoint = "generativelanguage.googleapis.com" ,
1138- modelId = model_id ,
1138+ modelId = model ,
11391139 vectorizeClassName = vectorize_collection_name ,
11401140 titleProperty = title_property ,
11411141 ),
0 commit comments