lobe-chat icon indicating copy to clipboard operation
lobe-chat copied to clipboard

[Request] Function calling for gemini-pro

Open sherlcok314159 opened this issue 11 months ago • 1 comments

🥰 Feature Description

Gemini-pro now supports function calling. But I fail to do it in lobe-chat

🧐 Proposed Solution

Here is the detailed description of the function calling.

https://ai.google.dev/docs/function_calling

📝 Additional Information

No response

sherlcok314159 avatar Mar 14 '24 02:03 sherlcok314159

👀 @sherlcok314159

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

lobehubbot avatar Mar 14 '24 02:03 lobehubbot

✅ @sherlcok314159

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

lobehubbot avatar May 11 '24 15:05 lobehubbot

:tada: This issue has been resolved in version 0.157.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

lobehubbot avatar May 11 '24 15:05 lobehubbot

更新到最新的 lobe-chat,可是这个我似乎不知道该怎么用

图片

我选择了 gemini-pro,但插件根本不让选,是否是相关逻辑还没处理好

sherlcok314159 avatar May 12 '24 01:05 sherlcok314159

升级到最新版本后,其它的新增支持插件调用的模型可以的,但是google的pro,1.5等还是不行

image

laye0619 avatar May 12 '24 06:05 laye0619

升级到最新版本后,其它的新增支持插件调用的模型可以的,但是google的pro,1.5等还是不行

image

@sherlcok314159

laye0619 avatar May 12 '24 06:05 laye0619

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


After upgrading to the latest version, other new models that support plug-in calling can be used, but Google pro, 1.5, etc. still cannot.

image

@sherlcok314159

lobehubbot avatar May 12 '24 06:05 lobehubbot

@laye0619 准确来说应该是 google 的 gemini-pro 的Function Calling 能力不行,虽然官方说支持,但是识别出来的效果基本都是不OK的,我感觉约等于不可用。

arvinxx avatar May 12 '24 08:05 arvinxx

明白了,十分感谢!

Regards, Laye

On May 12, 2024, at 16:04, Arvin Xu @.***> wrote:

@laye0619 https://github.com/laye0619 准确来说应该是 google 的 gemini-pro 的Function Calling 能力不行,虽然官方说支持,但是基本上等于不可用。

— Reply to this email directly, view it on GitHub https://github.com/lobehub/lobe-chat/issues/1561#issuecomment-2106158193, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACILQGL6GKAD5ZWE5UEIIMLZB4PBDAVCNFSM6AAAAABEVIYOKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGE2TQMJZGM. You are receiving this because you were mentioned.

laye0619 avatar May 12 '24 08:05 laye0619