Skip to content

Instantly share code, notes, and snippets.

@Visrozar

Visrozar/index.js

Created Dec 15, 2018
Embed
What would you like to do?
Clarifai API - Search based on Custom Model
app.inputs.search({ concept: { name: 'golden retriever' } }).then(
function (response) {
response.hits.forEach(hit => {
console.log(hit.score);
console.log(hit.input.data.image);
});
},
function (err) {
console.log(err);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.