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

Make system instruction accept String values only #152

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

andrewheard
Copy link
Collaborator

  • Updated the GenerativeModel constructor taking systemInstruction: any ThrowingPartsRepresentable... (from Allow for a simpler way to set system instructions #149) to systemInstruction: String since only text input is supported at this time.
  • Added example usage to the DocC parameter documentation.

@github-actions github-actions bot added component:swift sdk Issue/PR related to Swift SDK status:awaiting review PR awaiting review from a maintainer labels Apr 29, 2024
@andrewheard andrewheard merged commit 3ad8c1c into main Apr 29, 2024
9 checks passed
@andrewheard andrewheard deleted the ah/sys-instruction-string branch April 29, 2024 21:46
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:swift sdk Issue/PR related to Swift SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants