Skip to content

Data accuracy issue with gemini-1.5-flash-latest Vs gemini-1.5-pro-latest on MultiModel #190

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

Closed
skoru01 opened this issue Jul 15, 2024 · 1 comment
Labels
component:support How to do xyz? status:awaiting user response Awaiting a response from the author type:help Support-related issues

Comments

@skoru01
Copy link

skoru01 commented Jul 15, 2024

Description of the bug:

I am using gemini-1.5-flash-latest for find products from images and im getting pretty text as some time python and sometimes as json text but data is more accurate. But as per Gen AI document, for response as json we needs to use gemini-1.5-pro-latest through configuration but im getting single object from image for Pro model.

Actual vs expected behavior:

gemini-1.5-flash-latest: expected to get JSON response always but sometimes getting Python and something pretty json text
gemini-1.5-pro-latest: getting JSON text but only one object coming out multiple data.

Any other information you'd like to share?

No response

@singhniraj08
Copy link

@skoru01, Thank you reporting this issue. This looks like an intermittent error and should work now.
This repository is for issues related to Swift SDK client bugs or improvements and the client doesn't control the service's responses. For issues related to Gemini API, we would suggest you to use "Send Feedback" option in Gemini docs. Ref: Screenshot below. You can also post this issue on Google AI forum.

image

@singhniraj08 singhniraj08 added status:awaiting user response Awaiting a response from the author type:help Support-related issues component:support How to do xyz? labels Jul 22, 2024
@skoru01 skoru01 closed this as completed Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:support How to do xyz? status:awaiting user response Awaiting a response from the author type:help Support-related issues
Projects
None yet
Development

No branches or pull requests

2 participants