Getting started with the Gemini API and Web Apps

  1. How do images need to be encoded when supplying image data inline for a multimodal prompt using the Google Gen AI SDK for JavaScript and TypeScript?

  2. Which of these is the correct way to start a multi-turn chat conversation using the Google Gen AI SDK for JavaScript and TypeScript?

  3. True or False: The Google Gen AI SDK for JavaScript and TypeScript only supports streaming responses for text prompts.

  4. What is NOT required to use the Google Gen AI SDK for JavaScript and TypeScript in a web application?