Package | Description |
---|---|
com.clarifai.api | |
com.clarifai.api.exception |
Modifier and Type | Method and Description |
---|---|
InfoResult |
ClarifaiClient.getInfo()
Makes an API info request.
|
List<RecognitionResult> |
ClarifaiClient.recognize(RecognitionRequest request)
Makes a recognition request for tags and/or embeddings.
|
void |
ClarifaiClient.sendFeedback(FeedbackRequest request)
Makes a feedback request.
|
Constructor and Description |
---|
ClarifaiClient()
Constructs a new ClarifaiClient, using the CLARIFAI_APP_ID and CLARIFAI_APP_SECRET
environment variables to identify the application.
|
Modifier and Type | Class and Description |
---|---|
class |
ClarifaiBadRequestException
Thrown for requests that fail due to bad input.
|
class |
ClarifaiNotAuthorizedException
Thrown for requests that are not authorized.
|
class |
ClarifaiThrottledException
Thrown when the client is making too many requests.
|
Copyright © 2015. All Rights Reserved.