ComfyUI Node
Griptape Agent Config: Google Drivers
Google Structure Config. Use Google's models for prompt and image query.
Griptape Agent Config: Google Drivers
- CONFIG
◄prompt_model_commentPrompt 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►
◄embedding_model_commentEmbedding Driver►
◄embedding_modeltext-embedding-004►
◄task_typeRETRIEVAL_QUERY►
CategoryGriptape/Agent Configs
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt_model_commentopt | STRING | Prompt Driver | — |
| 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 for the Google API key. Do not use your actual API key here. |
| top_popt | FLOAT | 1.000–1 | Controls the cumulative probability distribution cutoff. The model will only consider the top p% most probable tokens. |
| embedding_model_commentopt | STRING | Embedding Driver | — |
| embedding_modelopt | COMBO | text-embedding-004 | Select the embedding model to use. |
| task_typeopt | COMBO | RETRIEVAL_QUERY | Select the task type for the embedding. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| CONFIG | CONFIG | — |