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

Griptape Prompt Driver: Ollama

Griptape Driver

By griptape-ai·Created 2 years ago·Updated about a year ago· 238
Griptape Prompt Driver: Ollama
    • DRIVER
    base_urlhttp://127.0.0.1
    port11434
    model
    max_attempts_on_fail2
    temperature0.10
    seed10342349342
    use_native_toolstrue
    max_tokens-1
    min_p0.10
    top_k40
    keep_alive240
    CategoryGriptape/Agent Drivers/Prompt

    Inputs (11)

    NameTypeDefaultDescription
    base_urlSTRINGhttp://127.0.0.1The base URL of the Ollama server
    portSTRING11434The port of the Ollama server
    modeloptSTRINGThe prompt model to use
    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.
    top_koptINT40Top k for sampling. Lower values are more deterministic.
    keep_aliveoptINT240Seconds to keep the connection alive

    Outputs (1)

    NameTypeDescription
    DRIVERPROMPT_DRIVER