Several examples of function calling using Google Gemini models in Typescript
- Make a copy to the
.env.templatefile and name it.env - Generate an API Key in Google AI Studio and put it in the
.envfile - Install dependencies
npm i
- Intro to Function Calling
npm run start:intro - Data Structures
- Single parameter
npm run start:data:single - Multiple parameters
npm run start:data:multiple - Lists of parameters
npm run start:data:list - Nested parameters and data structures
npm run start:data:nested
- Single parameter
- Parallel Function Calls
npm run start:parallel - Interaction with SQLite Database
[!IMPORTANT] This repository is based in the official generative-ai repository created in Python.
