WeaviateEx.API.Vectorizers.Multi2VecClip (WeaviateEx v0.7.4)
View SourceMulti2Vec-CLIP vectorizer configuration.
Uses CLIP models for multimodal (image + text) embedding.
Example
Multi2VecClip.new(
image_fields: [%{name: "image", weight: 0.7}],
text_fields: [%{name: "caption", weight: 0.3}]
)
Summary
Functions
Parse configuration from API response.
Create a new Multi2Vec-CLIP configuration.
Convert configuration to API format.
Returns the vectorizer name for the API.
Types
@type t() :: %WeaviateEx.API.Vectorizers.Multi2VecClip{ image_fields: [field_config()] | nil, inference_url: String.t() | nil, text_fields: [field_config()] | nil, vectorize_collection_name: boolean() }
Functions
Parse configuration from API response.
Create a new Multi2Vec-CLIP configuration.
Options
:image_fields- List of image field configs with name and optional weight:text_fields- List of text field configs with name and optional weight:inference_url- Custom inference URL:vectorize_collection_name- Include collection name (default: true)
Field Config
Fields can be specified as:
- Simple strings:
["image", "caption"] - Maps with weights:
[%{name: "image", weight: 0.7}]
Convert configuration to API format.
@spec vectorizer_name() :: String.t()
Returns the vectorizer name for the API.