embed
Create vector representations for texts using Gemini, store them in a JSON file, and return the file path and dimensions.
Instructions
Create embedding vectors for one or more texts with Gemini. Writes the vectors to a JSON file and returns the path and dimensions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | A single text to embed. | |
| model | No | ||
| texts | No | Multiple texts to embed in one call. | |
| output_path | No | Where to write the JSON (defaults under the output dir). |