Nodes/ComfyUI Griptape Nodes/Griptape Agent Config: OpenAI Compatible Drivers
ComfyUI Node

Griptape Agent Config: OpenAI Compatible Drivers

OpenAI Compatible Structure Config.

By griptape-ai·Created 2 years ago·Updated about a year ago· 238
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)

    NameTypeDefaultDescription
    prompt_model_commentoptSTRINGPrompt Driver
    modeloptSTRINGgpt-4oThe model to use, e.g., gpt-4o
    max_attempts_on_failoptINT21–100Maximum attempts on failure
    temperatureoptFLOAT0.100–1Temperature for sampling
    seedoptINT10342349342Seed for random number generation
    use_native_toolsoptBOOLEANtrueUse native tools for the LLM.
    max_tokensoptINT-1Maximum tokens to generate. If <=0, it will use the default based on the tokenizer.
    min_poptFLOAT0.100–1Minimum probability for sampling. Lower values will be more random.
    response_formatoptCOMBOdefaultFormat of the response
    api_key_env_varoptSTRINGOPENAI_API_KEYEnter the name of the environment variable that contains the API key, not the API key itself.
    base_urloptSTRINGhttps://api.openai.com/v1Enter the base URL for the API.
    image_generation_model_commentoptSTRINGImage Generation Driver
    image_generation_modeloptCOMBOdall-e-3Select the image generation model.
    sizeoptCOMBO1024x1024Select the desired image size.
    embedding_model_commentoptSTRINGEmbedding Driver
    embedding_modeloptSTRINGtext-embedding-3-smallSelect the embedding model to use.
    text_to_speech_model_commentoptSTRINGText To Speech Driver
    text_to_speech_modeloptCOMBOtts-1Enter the text-to-speech model name.
    voiceoptCOMBOalloySelect the voice for text-to-speech.
    audio_transcription_model_commentoptSTRINGAudio Transcription Driver
    audio_transcription_modeloptCOMBOwhisper-1Select the audio transcription model to use.

    Outputs (1)

    NameTypeDescription
    CONFIGCONFIG