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

support frequencyPenalty #222

Open
dongsuo opened this issue Nov 7, 2024 · 1 comment
Open

support frequencyPenalty #222

dongsuo opened this issue Nov 7, 2024 · 1 comment
Assignees
Labels
status:triaged Issue/PR triaged to the corresponding sub-team type:feature request New feature request or enhancement

Comments

@dongsuo
Copy link

dongsuo commented Nov 7, 2024

Description of the feature request:

https://ai.google.dev/api/generate-content#v1beta.GenerationConfig
Looks the sdk doesn't support frequencyPenalty config now

What problem are you trying to solve with this feature?

No response

Any other information you'd like to share?

No response

@dongsuo dongsuo added the type:feature request New feature request or enhancement label Nov 7, 2024
@gmKeshari gmKeshari added the status:triaged Issue/PR triaged to the corresponding sub-team label Nov 20, 2024
@gmKeshari gmKeshari self-assigned this Nov 20, 2024
@gmKeshari
Copy link

Hi @dongsuo,

Which Gemini model you are using?? The new 002 models support "frequencyPenalty". Please refer this cookbook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:triaged Issue/PR triaged to the corresponding sub-team type:feature request New feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants