Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
Hi all how do I pass an api key to
Hi all how do I pass an api key to
Inactive
0
Follow
s
simone.dicola
last year
Β·
Hi all, how do I pass an api key to access hugging face private repo? I cannot find a way to pass it. For open ai it is an enviroment variable.
s
L
3 comments
Share
Open in Discord
s
simone.dicola
last year
found this @Logan M but I do not get the answer (broken links)
s
simone.dicola
last year
think this is the one ->
https://github.com/jerryjliu/llama_index/issues/3290
L
Logan M
last year
I'm not sure which API key you need here π€
The only time i've needed an API key for huggingface was to connect to some hosted model on huggingface. Langchain has a wrapper for this that you can use in llama-index, as linked in that github issue
https://python.langchain.com/docs/integrations/llms/huggingface_hub
Add a reply
Sign up and join the conversation on Discord
Join on Discord