google-gemini / generative-ai-js

The official Node.js / Typescript library for the Google Gemini API
https://www.npmjs.com/package/@google/generative-ai
Apache License 2.0
685 stars 143 forks source link

Add systemInstruction and toolConfig #89

Closed hsubox76 closed 5 months ago

hsubox76 commented 5 months ago

See parallel Vertex web implementation PR: https://github.com/firebase/firebase-js-sdk/pull/8146

Add

System instruction design doc here (internal): https://docs.google.com/document/d/14HXjTbm6nJ9wy-TdnU3JdyNW2wQF8DZAmqI7eogHLTg/edit?tab=t.0#heading=h.6xzp689wzd8c

Swift and Android PRs here: https://github.com/google/generative-ai-swift/pull/124 https://github.com/google/generative-ai-android/pull/112 https://github.com/google/generative-ai-android/pull/103

changeset-bot[bot] commented 5 months ago

⚠️ No Changeset found

Latest commit: e5057ef53dbd35ca0eb705cef020e915f9129cde

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