async-openai icon indicating copy to clipboard operation
async-openai copied to clipboard

Gemini Example | OpenAI Compatibility

Open 64bit opened this issue 8 months ago • 1 comments

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

Create a self contained examples/gemini which demonstrate usage of this library for all samples listed on https://ai.google.dev/gemini-api/docs/openai.

This library should work as is if Gemini "OpenAI compatibility" is fully compatible with OpenAI. Otherwise use byot feature on need-basis.

64bit avatar Mar 09 '25 02:03 64bit

Hi @64bit! Gemini "OpenAI compatibility" is working fine but this library not supporting response models for it. So i think work needed to identify and deserialise response in gemini format.

DarshanVanol avatar Mar 18 '25 11:03 DarshanVanol

@DarshanVanol a friendly reminder to include links for copyrighted material used https://github.com/64bit/async-openai/pull/353#pullrequestreview-2762813758

64bit avatar Jun 02 '25 00:06 64bit

@64bit done! https://github.com/64bit/async-openai/pull/380

DarshanVanol avatar Jun 03 '25 06:06 DarshanVanol