You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enables text embedding functionality using Gemini's OpenAI-compatible embeddings endpoint.
Implementation:
- Add embed_request_type class method returning OpenAI::Embedding::RequestType (Gemini uses same request format as OpenAI)
- Add api_embed_execute with connection error handling and instrumentation
- Add Gemini::Embedding::RequestType alias in _types.rb
Test coverage (1 test, 1 assertion):
- embed_request_type returns OpenAI::Embedding::RequestType instance
0 commit comments