Skip to content

Commit ce49f34

Browse files
authored
Add TOC to samples dir (#253)
1 parent 9bffaba commit ce49f34

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

samples/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,20 @@ to comment out cases you do not want to run.
3030
## Documentation
3131

3232
- [Quickstart: Get started with the Gemini API in Node.js applications](https://ai.google.dev/tutorials/node_quickstart)
33+
34+
## Contents
35+
36+
| File | Description |
37+
|----------------------------------------------------------| ----------- |
38+
| [cache.js](./cache.js) | Context caching |
39+
| [chat.js](./chat.js) | Multi-turn chat conversations |
40+
| [code_execution.js](./code_execution.js) | Executing code |
41+
| [model_configuration.js](./model_configuration.js) | Setting model parameters |
42+
| [controlled_generation.js](./controlled_generation.js) | Generating content with output constraints (e.g. JSON mode) |
43+
| [count_tokens.js](./count_tokens.js) | Counting input and output tokens |
44+
| [embed.js](./embed.js) | Generating embeddings |
45+
| [files.js](./files.js) | Managing files with the File API |
46+
| [function_calling.js](./function_calling.js) | Using function calling |
47+
| [safety_settings.js](./safety_settings.js) | Setting and using safety controls |
48+
| [system_instruction.js](./system_instruction.js) | Setting system instructions |
49+
| [text_generation.js](./text_generation.js) | Generating text |

0 commit comments

Comments
 (0)