A function that turns texts into numbers for meaning search, using the configured model.
Optional
How Kizuki talks to a model server. openai-compatible: any server that speaks the OpenAI format, such as Ollama and MLX. gateway: Vercel AI Gateway, through the AI SDK's own gateway provider.
openai-compatible
gateway
A function that turns texts into numbers for meaning search, using the configured model.