Nodes/ComfyUI Griptape Nodes/Griptape Prompt Driver: Google
ComfyUI Node

Griptape Prompt Driver: Google

Griptape Driver

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

    Inputs (9)

    NameTypeDefaultDescription
    modeloptCOMBOgemini-2.0-flash6 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_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.
    top_koptINT2500–500Limits 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_varoptSTRINGGOOGLE_API_KEYEnvironment variable name for the Google API key. Do not use your actual API key directly here.
    top_poptFLOAT1.000–1Controls the cumulative probability distribution cutoff. The model will only consider the top p% most probable tokens.

    Outputs (1)

    NameTypeDescription
    DRIVERPROMPT_DRIVER