Is there a way to utilize task_type
when using gemini embedding models with openai library?
Hi @saeedesmaili,
To use the task_type
parameter with Gemini embedding models via the OpenAI client library, you must switch to the native Gemini API instead of the OpenAI-compatible endpoint.