WeaviateEx.API.Vectorizers.Text2VecVoyageAI (WeaviateEx v0.7.4)
View SourceText2Vec-VoyageAI vectorizer configuration.
Uses VoyageAI's embedding models for text vectorization.
Example
Text2VecVoyageAI.new(
model: "voyage-large-2",
truncate: true
)
Summary
Functions
Parse configuration from API response.
Create a new Text2Vec-VoyageAI configuration.
Convert configuration to API format.
Returns the vectorizer name for the API.
Types
Functions
Parse configuration from API response.
Create a new Text2Vec-VoyageAI configuration.
Options
:model- VoyageAI model name (e.g., "voyage-large-2", "voyage-3"):base_url- Custom API endpoint:truncate- Whether to truncate long inputs:vectorize_collection_name- Include collection name (default: true)
Convert configuration to API format.
@spec vectorizer_name() :: String.t()
Returns the vectorizer name for the API.