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

Allow setting generationConfig and safetySettings per request. #35

Closed
natebosch opened this issue Feb 6, 2024 · 0 comments · Fixed by #38
Closed

Allow setting generationConfig and safetySettings per request. #35

natebosch opened this issue Feb 6, 2024 · 0 comments · Fixed by #38

Comments

@natebosch
Copy link
Collaborator

Currently we allow setting this when constructing the model. The SDKs in at least some of the other languages support overriding for a single request.

natebosch added a commit that referenced this issue Feb 8, 2024
Closes #35

Add a `safetySettings` and `generationConfig` argument to
`generateContent` and `generateContentStream`.
natebosch added a commit that referenced this issue Feb 8, 2024
Closes #35

Add a `safetySettings` and `generationConfig` argument to
`generateContent` and `generateContentStream`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant