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
I'm trying to use Instructor with OpenRouter. It works perfectly for OpenAI models, but I can't make it work for Gemini.
Maybe it actually works, but I couldn't figure out how to call Instructor in this case. The tricky part is that I need to use OpenAI client but with Gemini-specific modes.
I'm trying to use Instructor with OpenRouter. It works perfectly for OpenAI models, but I can't make it work for Gemini.
Maybe it actually works, but I couldn't figure out how to call Instructor in this case. The tricky part is that I need to use OpenAI client but with Gemini-specific modes.
The following does not work:
Changing the mode to
instructor.Mode.GEMINI_TOOLS
is not helping (failing because GEMINI_TOOLS is not OpenAI mode).Am I right that my use case is currently not supported?
The text was updated successfully, but these errors were encountered: