ComfyUI Node
Griptape Embedding Driver: HuggingFace
Hugging Face Hub Embedding Driver
Griptape Embedding Driver: HuggingFace
- DRIVER
◄embedding_modelsentence-transformers/all-MiniLM-L6-v2►
◄tokenizersentence-transformers/all-MiniLM-L6-v2►
◄max_output_tokens512►
◄api_token_env_varHUGGINGFACE_HUB_ACCESS_TOKEN►
CategoryGriptape/Agent Drivers/Embedding
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| embedding_modelopt | STRING | sentence-transformers/all-MiniLM-L6-v2 | The model to use for embeddings. |
| tokenizeropt | STRING | sentence-transformers/all-MiniLM-L6-v2 | The tokenizer to use with the model. |
| max_output_tokensopt | INT | 512 | The maximum number of tokens for the output. |
| api_token_env_varopt | STRING | HUGGINGFACE_HUB_ACCESS_TOKEN | Environment variable for the API token. Do not use your actual API key here. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| DRIVER | EMBEDDING_DRIVER | — |