DEV Community

Discussion on: Building Your First HuggingFace Transformers Tool

Collapse
 
adriens profile image
adriens

How would you deal with a API that requires header authentication tokens ?

Collapse
 
banjtheman profile image
Banjo Obayomi
Collapse
 
adriens profile image
adriens

Yep, I was aware of that. What I meant is : where is the optimal choice to configure the Bearer tokens ? ... Probably within env variables 💭 to match OPENAI practices ;-p

Thread Thread
 
banjtheman profile image
Banjo Obayomi

Yea, that sounds good!