You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: In a chatflow try to make use of Huggingface embeddings and Huggingface inference components. Both require HF API key as a field entry and one is provided from my HF account. On running the flow an error was shown in chat message saying "A Hugging Face API key should be set up as environment variable or pass in the [component] constructor.". As the key was provide as field value in the component UI I suppose it'll be passed to constructor. No environment variable for HF API key has been defined and thought that isn't needed.
Anyone has any insight what is missing here, or generally what is required to run a HF embedding/inference component in a Flowise chatflow? Thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Platform: Render
Version: 1.3.4 latest
Issue: In a chatflow try to make use of Huggingface embeddings and Huggingface inference components. Both require HF API key as a field entry and one is provided from my HF account. On running the flow an error was shown in chat message saying "A Hugging Face API key should be set up as environment variable or pass in the [component] constructor.". As the key was provide as field value in the component UI I suppose it'll be passed to constructor. No environment variable for HF API key has been defined and thought that isn't needed.
Anyone has any insight what is missing here, or generally what is required to run a HF embedding/inference component in a Flowise chatflow? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions