ComfyUI Node
Griptape Prompt Driver: Azure OpenAI
Griptape Driver
Griptape Prompt Driver: Azure OpenAI
- DRIVER
◄modelgpt-4o►
◄max_attempts_on_fail2►
◄temperature0.10►
◄seed10342349342►
◄use_native_toolstrue►
◄max_tokens-1►
◄deployment_namegpt-4o►
◄response_formatdefault►
◄endpoint_env_varAZURE_OPENAI_ENDPOINT►
◄api_key_env_varAZURE_OPENAI_API_KEY►
CategoryGriptape/Agent Drivers/Prompt
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| modelopt | COMBO | gpt-4o | 4 options: gpt-4o, gpt-4, gpt-3.5-turbo-16k, gpt-3.5-turbo |
| 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. |
| deployment_nameopt | STRING | gpt-4o | — |
| response_formatopt | COMBO | default | 2 options: default, json_object |
| endpoint_env_varopt | STRING | AZURE_OPENAI_ENDPOINT | Enter the name of the environment variable for AZURE_OPENAI_ENDPOINT, not the actual endpoint. |
| api_key_env_varopt | STRING | AZURE_OPENAI_API_KEY | Enter the name of the environment variable for AZURE_OPENAI_API_KEY, not the actual API key. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| DRIVER | PROMPT_DRIVER | — |