WeaviateEx.API.Vectorizers.Text2VecPalm (WeaviateEx v0.7.4)
View SourceText2Vec-Palm (Google Vertex AI) vectorizer configuration.
Uses Google's PaLM/Vertex AI embedding models.
Example
Text2VecPalm.new(
project_id: "my-gcp-project",
model_id: "textembedding-gecko@001"
)
Summary
Functions
Parse configuration from API response.
Create a new Text2Vec-Palm configuration.
Convert configuration to API format.
Returns the vectorizer name for the API.
Types
Functions
Parse configuration from API response.
Create a new Text2Vec-Palm configuration.
Options
:project_id- Google Cloud project ID (required):model_id- Model ID (e.g., "textembedding-gecko@001"):api_endpoint- Custom API endpoint: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.