ComfyUI Node
Griptape Prompt Driver: HuggingFace
Hugging Face Hub Prompt Driver
Griptape Prompt Driver: HuggingFace
- DRIVER
◄modelHuggingFaceH4/zephyr-7b-beta►
◄max_attempts_on_fail2►
◄temperature0.10►
◄seed10342349342►
◄use_native_toolstrue►
◄max_tokens-1►
◄api_token_env_varHUGGINGFACE_HUB_ACCESS_TOKEN►
CategoryGriptape/Agent Drivers/Prompt
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| modelopt | STRING | HuggingFaceH4/zephyr-7b-beta | The model to use from Hugging Face Hub. |
| 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. |
| api_token_env_varopt | STRING | HUGGINGFACE_HUB_ACCESS_TOKEN | Environment variable name for the Hugging Face API token. Do not use your actual API key here. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| DRIVER | PROMPT_DRIVER | — |