Skip to content
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

feat: add gemini support #953

Merged
merged 5 commits into from
Dec 23, 2023
Merged

Conversation

yihong0618
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the enhancement New feature or request label Dec 19, 2023
@fangyinc
Copy link
Collaborator

Thanks, I'll verify it later.

dbgpt/config.py Outdated Show resolved Hide resolved
@yihong0618
Copy link
Contributor Author

@fangyinc fixed

dbgpt/model/proxy/llms/gemini.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@Aralhi Aralhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for your effort, it will be better declare in frontend. /web/utils/constants.ts MODEL_ICON_MAP. such as
bard_proxyllm: { label: 'bard_proxyllm', icon: '/models/bard.gif' }

@yihong0618
Copy link
Contributor Author

thank you for your effort, it will be better declare in frontend. /web/utils/constants.ts MODEL_ICON_MAP. such as bard_proxyllm: { label: 'bard_proxyllm', icon: '/models/bard.gif' }

I checked but there's no icon for gemini yet...https://blog.google/technology/ai/google-gemini-ai/

@fangyinc
Copy link
Collaborator

@yihong0618
Copy link
Contributor Author

@yihong0618
Copy link
Contributor Author

@Aralhi
Copy link
Collaborator

Aralhi commented Dec 20, 2023

thank you for your effort, it will be better declare in frontend. /web/utils/constants.ts MODEL_ICON_MAP. such as bard_proxyllm: { label: 'bard_proxyllm', icon: '/models/bard.gif' }

I checked but there's no icon for gemini yet...https://blog.google/technology/ai/google-gemini-ai/

how about using deepmind logo 😊, https://avatars.githubusercontent.com/u/8596759?s=200&v=4

@Aralhi
Copy link
Collaborator

Aralhi commented Dec 20, 2023

@yihong0618
Copy link
Contributor Author

https://blog.google/technology/ai/google-gemini-ai/

Can we use this icon? https://storage.googleapis.com/gweb-uniblog-publish-prod/images/final_keyword_header.width-1200.format-webp.webp
image

it is so BIG. not appropriate in icon.

yep, and there may be copyright issues, how about just draw one using AI

@Aralhi
Copy link
Collaborator

Aralhi commented Dec 20, 2023

https://blog.google/technology/ai/google-gemini-ai/

Can we use this icon? https://storage.googleapis.com/gweb-uniblog-publish-prod/images/final_keyword_header.width-1200.format-webp.webp
image

it is so BIG. not appropriate in icon.

yep, and there may be copyright issues, how about just draw one using AI

since there is no avaliable icon, keep simple, how about using google icon or huggingface icon(default icon)

@csunny
Copy link
Collaborator

csunny commented Dec 20, 2023

@Aralhi I prefer the Google icon. 😄

yihong0618 and others added 4 commits December 21, 2023 13:03
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: Fangyin Cheng <staneyffer@gmail.com>
@fangyinc
Copy link
Collaborator

Please review @csunny @Aralhi

csunny

This comment was marked as duplicate.

@yihong0618 yihong0618 dismissed csunny’s stale review December 21, 2023 06:22

The merge-base changed after approval.

csunny
csunny previously approved these changes Dec 21, 2023
Copy link
Collaborator

@csunny csunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

@yihong0618 yihong0618 dismissed csunny’s stale review December 21, 2023 06:30

The merge-base changed after approval.

@Aralhi Aralhi requested a review from fangyinc December 21, 2023 08:34
Copy link
Collaborator

@csunny csunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

Copy link
Collaborator

@fangyinc fangyinc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

@fangyinc fangyinc merged commit 12234ae into eosphoros-ai:main Dec 23, 2023
4 checks passed
vshy108 pushed a commit to vshy108/DB-GPT that referenced this pull request Jan 18, 2024
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: Fangyin Cheng <staneyffer@gmail.com>
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
Hopshine pushed a commit to Hopshine/DB-GPT that referenced this pull request Sep 10, 2024
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: Fangyin Cheng <staneyffer@gmail.com>
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants