firebase / firebase-js-sdk

Firebase Javascript SDK
https://firebase.google.com/docs/web/setup
Other
4.74k stars 868 forks source link

Allow text-only systemInstruction #8208

Closed hsubox76 closed 2 weeks ago

hsubox76 commented 3 weeks ago

Change so that systemInstruction param can be passed in to the model or to methods as a string, as well as a Part or Content.

Parallel GoogleAI PR: https://github.com/google-gemini/generative-ai-js/pull/113

changeset-bot[bot] commented 3 weeks ago

⚠️ No Changeset found

Latest commit: 01b22311661a9025258eb92e5b770bdc9f352831

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

google-oss-bot commented 3 weeks ago

<!DOCTYPE html>

Size Report 1

Affected Products

Test Logs

google-oss-bot commented 3 weeks ago

<!DOCTYPE html>

Size Analysis Report 1

Affected Products

Test Logs