Nodes/ComfyUI Griptape Nodes/Griptape Prompt Driver: OpenAI Compatible
ComfyUI Node

Griptape Prompt Driver: OpenAI Compatible

Griptape Driver

By griptape-ai·Created 2 years ago·Updated about a year ago· 238
Griptape Prompt Driver: OpenAI Compatible
    • 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
    CategoryGriptape/Agent Drivers/Prompt

    Inputs (10)

    NameTypeDefaultDescription
    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 environment variable name, not the actual API key
    base_urloptSTRINGhttps://api.openai.com/v1The base URL for the OpenAI API

    Outputs (1)

    NameTypeDescription
    DRIVERPROMPT_DRIVER