Memo::Providers::Base
Internal provider interface for embedding services
Implementations handle API communication with specific providers (OpenAI, Cohere, etc.) and return embeddings in a standard format.
Instance methods
Embed a single text
Returns tuple of (embedding vector, token count) input_type: "query" or "document" (used by Voyage AI for optimized embeddings)