diff --git a/docs/weaviate/model-providers/_includes/provider.vectorizer.py b/docs/weaviate/model-providers/_includes/provider.vectorizer.py index 7c56c8bf..42251fa4 100644 --- a/docs/weaviate/model-providers/_includes/provider.vectorizer.py +++ b/docs/weaviate/model-providers/_includes/provider.vectorizer.py @@ -1207,18 +1207,22 @@ properties=[ Property(name="title", data_type=DataType.TEXT), Property(name="poster", data_type=DataType.BLOB), + Property(name="trailer", data_type=DataType.BLOB), ], vector_config=[ Configure.Vectors.multi2vec_voyageai( name="title_vector", - model="voyage-multimodal-3", - # Define the fields to be used for the vectorization - using image_fields, text_fields + model="voyage-multimodal-3.5", + # Define the fields to be used for the vectorization - using image_fields, text_fields, video_fields image_fields=[ - Multi2VecField(name="poster", weight=0.9) + Multi2VecField(name="poster", weight=0.7) ], text_fields=[ Multi2VecField(name="title", weight=0.1) ], + video_fields=[ + Multi2VecField(name="trailer", weight=0.2) + ], ) ], # highlight-end @@ -1238,19 +1242,23 @@ properties=[ Property(name="title", data_type=DataType.TEXT), Property(name="poster", data_type=DataType.BLOB), + Property(name="trailer", data_type=DataType.BLOB), ], vector_config=[ Configure.Vectors.multi2vec_voyageai( name="title_vector", - # Define the fields to be used for the vectorization - using image_fields, text_fields + # Define the fields to be used for the vectorization - using image_fields, text_fields, video_fields image_fields=[ - Multi2VecField(name="poster", weight=0.9) + Multi2VecField(name="poster", weight=0.7) ], text_fields=[ Multi2VecField(name="title", weight=0.1) ], + video_fields=[ + Multi2VecField(name="trailer", weight=0.2) + ], # Further options - # model="voyage-multimodal-3", + # model="voyage-multimodal-3.5", # truncation="true", # or "false", # output_encoding="base64", # or "null" # base_url="" diff --git a/docs/weaviate/model-providers/_includes/provider.vectorizer.ts b/docs/weaviate/model-providers/_includes/provider.vectorizer.ts index d801527c..893d9a97 100644 --- a/docs/weaviate/model-providers/_includes/provider.vectorizer.ts +++ b/docs/weaviate/model-providers/_includes/provider.vectorizer.ts @@ -1350,20 +1350,28 @@ await client.collections.create({ name: 'poster', dataType: weaviate.configure.dataType.BLOB, }, + { + name: 'trailer', + dataType: weaviate.configure.dataType.BLOB, + }, ], vectorizers: [ weaviate.configure.vectors.multi2VecVoyageAI({ name: "title_vector", - // Define the fields to be used for the vectorization - using imageFields, textFields + // Define the fields to be used for the vectorization - using imageFields, textFields, videoFields imageFields: [{ name: "poster", - weight: 0.9 + weight: 0.7 }], textFields: [{ name: "title", weight: 0.1 }], - model: "voyage-multimodal-3", + videoFields: [{ + name: "trailer", + weight: 0.2 + }], + model: "voyage-multimodal-3.5", })], // highlight-end // Additional parameters not shown @@ -1387,21 +1395,29 @@ await client.collections.create({ name: 'poster', dataType: weaviate.configure.dataType.BLOB, }, + { + name: 'trailer', + dataType: weaviate.configure.dataType.BLOB, + }, ], vectorizers: [ weaviate.configure.vectors.multi2VecVoyageAI({ name: "title_vector", - // Define the fields to be used for the vectorization - using imageFields, textFields + // Define the fields to be used for the vectorization - using imageFields, textFields, videoFields imageFields: [{ name: "poster", - weight: 0.9 + weight: 0.7 }], textFields: [{ name: "title", weight: 0.1 }], + videoFields: [{ + name: "trailer", + weight: 0.2 + }], // Further options - model: "voyage-multimodal-3", + model: "voyage-multimodal-3.5", truncate: true, // or false // outputEncoding: "base64" // or "null" // baseURL: "" diff --git a/docs/weaviate/model-providers/voyageai/embeddings-multimodal.md b/docs/weaviate/model-providers/voyageai/embeddings-multimodal.md index 79b19cae..4a52c4a3 100644 --- a/docs/weaviate/model-providers/voyageai/embeddings-multimodal.md +++ b/docs/weaviate/model-providers/voyageai/embeddings-multimodal.md @@ -312,6 +312,11 @@ The query below returns the `n` most similar objects to the input image from the ### Available models - `voyage-multimodal-3` (Default) +- `voyage-multimodal-3.5` + +:::info Video support +The `voyage-multimodal-3.5` model supports video embeddings in addition to text and images. Configure `video_fields` (Python) or `videoFields` (TypeScript) to enable video vectorization. +::: ## Further resources