ComfyUI Node
Griptape Agent Config: OpenAI Compatible Drivers
OpenAI Compatible Structure Config.
Griptape Agent Config: OpenAI Compatible Drivers
- CONFIG
◄prompt_model_commentPrompt Driver►
◄modelgpt-4o►
◄max_attempts_on_fail2►
◄temperature0.10►
◄seed10342349342►
◄use_native_toolstrue►
◄max_tokens-1►
◄min_p0.10►
◄response_formatdefault►
◄api_key_env_varOPENAI_API_KEY►
◄base_urlhttps://api.openai.com/v1►
◄image_generation_model_commentImage Generation Driver►
◄image_generation_modeldall-e-3►
◄size1024x1024►
◄embedding_model_commentEmbedding Driver►
◄embedding_modeltext-embedding-3-small►
◄text_to_speech_model_commentText To Speech Driver►
◄text_to_speech_modeltts-1►
◄voicealloy►
◄audio_transcription_model_commentAudio Transcription Driver►
◄audio_transcription_modelwhisper-1►
CategoryGriptape/Agent Configs
Inputs (21)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt_model_commentopt | STRING | Prompt Driver | — |
| modelopt | STRING | gpt-4o | The model to use, e.g., gpt-4o |
| 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. |
| min_popt | FLOAT | 0.100–1 | Minimum probability for sampling. Lower values will be more random. |
| response_formatopt | COMBO | default | Format of the response |
| api_key_env_varopt | STRING | OPENAI_API_KEY | Enter the name of the environment variable that contains the API key, not the API key itself. |
| base_urlopt | STRING | https://api.openai.com/v1 | Enter the base URL for the API. |
| image_generation_model_commentopt | STRING | Image Generation Driver | — |
| image_generation_modelopt | COMBO | dall-e-3 | Select the image generation model. |
| sizeopt | COMBO | 1024x1024 | Select the desired image size. |
| embedding_model_commentopt | STRING | Embedding Driver | — |
| embedding_modelopt | STRING | text-embedding-3-small | Select the embedding model to use. |
| text_to_speech_model_commentopt | STRING | Text To Speech Driver | — |
| text_to_speech_modelopt | COMBO | tts-1 | Enter the text-to-speech model name. |
| voiceopt | COMBO | alloy | Select the voice for text-to-speech. |
| audio_transcription_model_commentopt | STRING | Audio Transcription Driver | — |
| audio_transcription_modelopt | COMBO | whisper-1 | Select the audio transcription model to use. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| CONFIG | CONFIG | — |