google-gemini / generative-ai-js

The official Node.js / Typescript library for the Google Gemini API
https://ai.google.dev/
Apache License 2.0
502 stars 96 forks source link

Support for few-shot prompting (also called in-context learning #152

Closed Iven2132 closed 1 month ago

Iven2132 commented 1 month ago

Description of the feature request:

what's the proper way to few-shot prompting (also called in-context learning? How do I give the previous context?

What problem are you trying to solve with this feature?

No response

Any other information you'd like to share?

No response

Iven2132 commented 1 month ago

with multimodal

hsubox76 commented 1 month ago

I think the discussion forum would probably be the best place for this question: https://discuss.ai.google.dev/ - you'll be able to get answers from a much wider pool of Gemini users than just JS users.