Closed fatwang2 closed 3 months ago
https://github.com/google/generative-ai-go/issues/32
Not available yet, SDK does not support
我看Gemini的官方文档,现在已经有测试版的function calling功能了,已经有明确的接口文档了,我理解请求的时候请求beta的model就可以
On Tue, Jan 9, 2024 at 10:01 AM Timmy @.***> wrote:
google/generative-ai-go#32 https://github.com/google/generative-ai-go/issues/32
Not available yet, SDK does not support
— Reply to this email directly, view it on GitHub https://github.com/zhu327/gemini-openai-proxy/issues/16#issuecomment-1882166896, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSWYLJSH2JTFGKDSA2LYNSQHFAVCNFSM6AAAAABBSK4AQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBSGE3DMOBZGY . You are receiving this because you authored the thread.Message ID: @.***>
The gemini openai proxy uses the official GoLang SDK. Currently the SDK has not encapsulated the function call related functions yet. You can refer to the link in the previous reply
The SDK now supports function calls, but it requires developers with specific needs to contribute pull requests.
Gemini 也支持 function calling,格式跟 OpenAI 类似,希望能做个兼容