ComfyUI Node
Griptape Prompt Driver: Google
Griptape Driver
Griptape Prompt Driver: Google
- DRIVER
◄modelgemini-2.0-flash►
◄max_attempts_on_fail2►
◄temperature0.10►
◄seed10342349342►
◄use_native_toolstrue►
◄max_tokens-1►
◄top_k250►
◄google_api_key_env_varGOOGLE_API_KEY►
◄top_p1.00►
CategoryGriptape/Agent Drivers/Prompt
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| modelopt | COMBO | gemini-2.0-flash | 6 options: gemini-2.0-flash, gemini-2.0-flash-lite-preview-02-05, gemini-1.5-pro, gemini-1.5-flash, gemini-1.0-pro, gemini-pro |
| max_attempts_on_failopt | INT | 21–100 | Maximum attempts on failure |
| temperatureopt | FLOAT | 0.100–1 | Temperature for sampling |
| seedopt | INT | 10342349342 | Seed for random number generation |
| use_native_toolsopt | BOOLEAN | true | Use native tools for the LLM. |
| max_tokensopt | INT | -1 | Maximum tokens to generate. If <=0, it will use the default based on the tokenizer. |
| top_kopt | INT | 2500–500 | Limits the number of tokens considered for each step of the generation. Prevents the model from focusing too narrowly on the top choices. |
| google_api_key_env_varopt | STRING | GOOGLE_API_KEY | Environment variable name for the Google API key. Do not use your actual API key directly here. |
| top_popt | FLOAT | 1.000–1 | Controls the cumulative probability distribution cutoff. The model will only consider the top p% most probable tokens. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| DRIVER | PROMPT_DRIVER | — |