[GH-ISSUE #11714] feat: Gemini embeddings support #31857

Closed
opened 2026-04-25 05:45:05 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @AlgorithmicKing737 on GitHub (Mar 15, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11714

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

When I put embedding model engine to OpenAI and input the url "https://generativelanguage.googleapis.com/v1beta/openai" and input everything else (API, model etc.) it doesn't work

Desired Solution you'd like

The problem is OWUI is adding this extra "/embeddings" to the URL openai batch embeddings: 400 Client Error: Bad Request for url: https://generativelanguage.googleapis.com/v1beta/openai**/embeddings** the solution is to just don't add that.

Image
https://ai.google.dev/gemini-api/docs/openai#embeddings

Alternatives Considered

No response

Additional Context

No response

Originally created by @AlgorithmicKing737 on GitHub (Mar 15, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/11714 ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description When I put embedding model engine to OpenAI and input the url "https://generativelanguage.googleapis.com/v1beta/openai" and input everything else (API, model etc.) it doesn't work ### Desired Solution you'd like The problem is OWUI is adding this extra "/embeddings" to the URL `openai batch embeddings: 400 Client Error: Bad Request for url: https://generativelanguage.googleapis.com/v1beta/openai**/embeddings** ` the solution is to just don't add that. ![Image](https://github.com/user-attachments/assets/4ad74075-16f2-4c19-aa67-53ee9fd8a0d0) https://ai.google.dev/gemini-api/docs/openai#embeddings ### Alternatives Considered _No response_ ### Additional Context _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#31857