Skip to content

Commit

Permalink
Add TOC to samples dir (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsubox76 committed Sep 10, 2024
1 parent 9bffaba commit ce49f34
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,20 @@ to comment out cases you do not want to run.
## Documentation

- [Quickstart: Get started with the Gemini API in Node.js applications](https://ai.google.dev/tutorials/node_quickstart)

## Contents

| File | Description |
|----------------------------------------------------------| ----------- |
| [cache.js](./cache.js) | Context caching |
| [chat.js](./chat.js) | Multi-turn chat conversations |
| [code_execution.js](./code_execution.js) | Executing code |
| [model_configuration.js](./model_configuration.js) | Setting model parameters |
| [controlled_generation.js](./controlled_generation.js) | Generating content with output constraints (e.g. JSON mode) |
| [count_tokens.js](./count_tokens.js) | Counting input and output tokens |
| [embed.js](./embed.js) | Generating embeddings |
| [files.js](./files.js) | Managing files with the File API |
| [function_calling.js](./function_calling.js) | Using function calling |
| [safety_settings.js](./safety_settings.js) | Setting and using safety controls |
| [system_instruction.js](./system_instruction.js) | Setting system instructions |
| [text_generation.js](./text_generation.js) | Generating text |

0 comments on commit ce49f34

Please sign in to comment.