-
-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
๐ style: Enable Grounding with Google Search for Gemini 2.0 #5778
base: main
Are you sure you want to change the base?
Conversation
@sxjeru is attempting to deploy a commit to the LobeHub Team on Vercel. A member of the Team first needs to authorize it. |
๐ @sxjeru Thank you for raising your pull request and contributing to our Community |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5778 +/- ##
==========================================
- Coverage 92.44% 92.42% -0.03%
==========================================
Files 661 661
Lines 59965 59992 +27
Branches 2824 4402 +1578
==========================================
+ Hits 55434 55445 +11
- Misses 4531 4547 +16
Flags with carried forward coverage won't be shown. Click here to find out more. โ View full report in Codecov by Sentry. |
้ๅธธๅฅฝ็PR๏ผๆๆๅฆไธ็้ฎ๏ผๅฆๆๆไฝฟ็จoneapi่ฝฌๅๅนถ้ๅฝๅไบๆ็Geminiๆจกๅ๏ผ่ฏฅ็ฏๅขๅ้ๆฏๅฆไป็ถๆๆ๏ผ |
Very good PR, I have the following question: If I forward and rename my Gemini model using oneapi, is this environment variable still valid? |
่ฟๆ ทๅฐฑไธ่ตทไฝ็จไบ๏ผๅช่ฝๆฏ็ดๆฅๅจ lobechat ้ ็ฝฎ gemini ๆถๆ็จใ |
This won't work, it can only be useful directly when configuring gemini in lobechat. |
@arvinxx ่ๅฅๆ็ฉบๅฏไปฅๅไธไธ่ฟไธช๏ผ่ฟๆฏๆบๆ็จ็ใ |
@arvinxx Brother can combine this when he has time, it is quite useful. |
@sxjeru ่ฟไธชๅ่ฝๆๆ็นไธๅคชๆณๅๆๅ้๏ผ็ฎๅ้ๅฏนๆ็ดข็้ๆฑ้ๅธธๆฎ้๏ผๆๆฏ่ฎกๅๅๆไธไธชๅบ็จ็บง็่ฝๅ็ใๅ ๅซไธค้จๅ๏ผ
![]() |
๐ป ๅๆด็ฑปๅ | Change Type
๐ ๅๆด่ฏดๆ | Description of Change
https://ai.google.dev/gemini-api/docs/grounding
Gemini 2.0 ๆจกๅๆฅๆๆฏๆฅๅ ่ดน 500 ๆฌกๆ็ดข่ฏทๆฑ้ ้ขใ
ๅจ #5431 ๆ้ฎๅ่ฝๅฎ็ฐๅ๏ผๅช่ฝๆฏไธๅคช็ตๆดป็็ฏๅขๅ้ๆฅ็ฆ็จ่ฏฅๅ่ฝใ๏ผ้ฟๅ ๆถ่ดน๏ผ
GEMINI_SEARCH_ENABLED
่ฎพไธบ 1 ๅๅฏ็จๆ็ดขๅ่ฝ๏ผ็ฑไบ่ฏฅๅ่ฝๅฏ่ฝๆถ่ดน๏ผ้ป่ฎค็ฆ็จใๅ่ๆๆกฃ๏ผๆจกๅๅฏไปฅ่ชๅจๅจๅ้็ๆถๆบๅฏ็จๆ็ดข๏ผ้ฟๅ ๆตช่ดน้ ้ข๏ผๅบๅฝๅฏไปฅๅฐ Grounding ๆ็ดข่ฎพไธบ้ป่ฎคๅฏ็จใๆณจๆๅฏ็จ็ๆฏๅชๆ Gemini 2.0 ๆจกๅๆๅฏไบซๅ็ googleSearch๏ผ1.5 ็ณปๅไธไนๆ ๅ ณใ
ๆ นๆฎๆต่ฏ๏ผGrounding ๆๆถๆ ๆณๅ functionCall ๅ ฑๅญ๏ผๅฏ็จ functionCall ๆถไผ่ชๅจๅ ณ้ญ Grounding ๆ็ดขใ
๐ ่กฅๅ ไฟกๆฏ | Additional Information
ๅทฒ็กฎ่ฎคๅฏ็จใ