@@ -127,61 +127,6 @@ def test_basic_config():
127127 }
128128 },
129129 ),
130- (
131- Configure .Vectorizer .multi2vec_voyageai (
132- model = "voyage-multimodal-3.5" ,
133- truncation = True ,
134- output_encoding = "base64" ,
135- vectorize_collection_name = True ,
136- base_url = "https://api.voyageai.com" ,
137- ),
138- {
139- "multi2vec-voyageai" : {
140- "model" : "voyage-multimodal-3.5" ,
141- "truncation" : True ,
142- "baseURL" : "https://api.voyageai.com/" ,
143- }
144- },
145- ),
146- (
147- Configure .Vectorizer .multi2vec_voyageai (
148- model = "voyage-multimodal-3.5" ,
149- truncation = True ,
150- text_fields = [Multi2VecField (name = "text" , weight = 0.2 )],
151- image_fields = [Multi2VecField (name = "image" , weight = 0.3 )],
152- video_fields = [Multi2VecField (name = "video" , weight = 0.5 )],
153- ),
154- {
155- "multi2vec-voyageai" : {
156- "model" : "voyage-multimodal-3.5" ,
157- "truncation" : True ,
158- "textFields" : ["text" ],
159- "imageFields" : ["image" ],
160- "videoFields" : ["video" ],
161- "weights" : {
162- "textFields" : [0.2 ],
163- "imageFields" : [0.3 ],
164- "videoFields" : [0.5 ],
165- },
166- }
167- },
168- ),
169- (
170- Configure .Vectorizer .multi2vec_voyageai (
171- model = "voyage-multimodal-3.5" ,
172- dimensions = 512 ,
173- text_fields = ["text" ],
174- video_fields = ["video" ],
175- ),
176- {
177- "multi2vec-voyageai" : {
178- "model" : "voyage-multimodal-3.5" ,
179- "dimensions" : 512 ,
180- "textFields" : ["text" ],
181- "videoFields" : ["video" ],
182- }
183- },
184- ),
185130 (
186131 Configure .Vectorizer .multi2vec_nvidia (
187132 model = "nvidia/nvclip" ,
@@ -2479,6 +2424,59 @@ def test_config_with_named_vectors(
24792424 }
24802425 },
24812426 ),
2427+ (
2428+ Configure .Vectors .multi2vec_voyageai (
2429+ model = "voyage-multimodal-3.5" ,
2430+ truncation = True ,
2431+ base_url = "https://api.voyageai.com" ,
2432+ ),
2433+ {
2434+ "multi2vec-voyageai" : {
2435+ "model" : "voyage-multimodal-3.5" ,
2436+ "truncation" : True ,
2437+ "baseURL" : "https://api.voyageai.com/" ,
2438+ }
2439+ },
2440+ ),
2441+ (
2442+ Configure .Vectors .multi2vec_voyageai (
2443+ model = "voyage-multimodal-3.5" ,
2444+ truncation = True ,
2445+ text_fields = [Multi2VecField (name = "text" , weight = 0.2 )],
2446+ image_fields = [Multi2VecField (name = "image" , weight = 0.3 )],
2447+ video_fields = [Multi2VecField (name = "video" , weight = 0.5 )],
2448+ ),
2449+ {
2450+ "multi2vec-voyageai" : {
2451+ "model" : "voyage-multimodal-3.5" ,
2452+ "truncation" : True ,
2453+ "textFields" : ["text" ],
2454+ "imageFields" : ["image" ],
2455+ "videoFields" : ["video" ],
2456+ "weights" : {
2457+ "textFields" : [0.2 ],
2458+ "imageFields" : [0.3 ],
2459+ "videoFields" : [0.5 ],
2460+ },
2461+ }
2462+ },
2463+ ),
2464+ (
2465+ Configure .Vectors .multi2vec_voyageai (
2466+ model = "voyage-multimodal-3.5" ,
2467+ dimensions = 512 ,
2468+ text_fields = ["text" ],
2469+ video_fields = ["video" ],
2470+ ),
2471+ {
2472+ "multi2vec-voyageai" : {
2473+ "model" : "voyage-multimodal-3.5" ,
2474+ "dimensions" : 512 ,
2475+ "textFields" : ["text" ],
2476+ "videoFields" : ["video" ],
2477+ }
2478+ },
2479+ ),
24822480 (
24832481 [
24842482 Configure .Vectors .multi2vec_clip (
0 commit comments