secret_id {clarifai} | R Documentation |
Sets Application ID and Secret
Description
Set Client ID and Secret. Needed for interfacing with Clarifai. Run this before anything else.
Usage
secret_id(appdetails = NULL, force = FALSE)
Arguments
appdetails |
A vector of client_id, client_secret. Get these from https://developer.clarifai.com/. Set them before you use other functions. |
force |
force reset client id and secret |
Details
The function looks for ClarifaiId
and ClarifaiSecret
in the environment. If it doesn't find them and if we don't want to force
change in them, it looks for arguments. And if no arguments are passed, it asks for user to input the values.
References
https://developer.clarifai.com/
Examples
## Not run:
setapp(c("client_id", "client_secret"))
## End(Not run)
[Package clarifai version 0.4.2 Index]