Skip to content

Instantly share code, notes, and snippets.

@itotallyrock
Created December 2, 2017 23:41
Show Gist options
  • Save itotallyrock/22200ea380dca036e2c01a9a50216d8d to your computer and use it in GitHub Desktop.
Save itotallyrock/22200ea380dca036e2c01a9a50216d8d to your computer and use it in GitHub Desktop.
{ status: { code: 10000, description: 'Ok' },
outputs:
[ { id: 'f715fc278bbc4ac3b3eb83c3487c93d3',
status: { code: 10000, description: 'Ok' },
created_at: '2017-12-02T23:38:51.586298315Z',
model:
{ id: 'aaa03c23b3724a16a56b629203edc62c',
name: 'general-v1.3',
created_at: '2016-03-09T17:11:39.608845Z',
app_id: 'main',
output_info:
{ message: 'Show output_info with: GET /models/{model_id}/output_info',
type: 'concept',
type_ext: 'concept' },
model_version:
{ id: 'aa9ca48295b37401f8af92ad1af0d91d',
created_at: '2016-07-13T01:19:12.147644Z',
status: { code: 21100, description: 'Model trained successfully' } },
display_name: 'General' },
input:
{ id: 'fee29417730b4c508d9d3d04b0c95374',
data: { image: { url: 'https://www.what-dog.net/Images/faces2/scroll001.jpg' } } },
data:
{ concepts:
[ { id: 'ai_8S2Vq3cR',
name: 'dog',
value: 0.99959314,
app_id: 'main' },
{ id: 'ai_gPNNX7LT', name: 'pet', value: 0.99831, app_id: 'main' },
{ id: 'ai_RjM4sQHM',
name: 'beagle',
value: 0.99626064,
app_id: 'main' },
{ id: 'ai_M6pVRDsX',
name: 'canine',
value: 0.99559164,
app_id: 'main' },
{ id: 'ai_4CRlSvbV',
name: 'cute',
value: 0.9955273,
app_id: 'main' },
{ id: 'ai_LRzQhTHd',
name: 'puppy',
value: 0.9953635,
app_id: 'main' },
{ id: 'ai_N6BnC4br',
name: 'mammal',
value: 0.9914612,
app_id: 'main' },
{ id: 'ai_R67cVW5t',
name: 'sit',
value: 0.99121034,
app_id: 'main' },
{ id: 'ai_5sqbqWHm',
name: 'domestic',
value: 0.98752236,
app_id: 'main' },
{ id: 'ai_kMfQ8z5w',
name: 'retriever',
value: 0.98254526,
app_id: 'main' },
{ id: 'ai_SzsXMB1w',
name: 'animal',
value: 0.97693837,
app_id: 'main' },
{ id: 'ai_vhVFqkx3',
name: 'breed',
value: 0.9761883,
app_id: 'main' },
{ id: 'ai_HkqZwBbr',
name: 'little',
value: 0.9749366,
app_id: 'main' },
{ id: 'ai_9fQBzNBM',
name: 'looking',
value: 0.9709641,
app_id: 'main' },
{ id: 'ai_xWCNmTbf',
name: 'adorable',
value: 0.96764356,
app_id: 'main' },
{ id: 'ai_bDG4NTgt',
name: 'purebred',
value: 0.9656729,
app_id: 'main' },
{ id: 'ai_TJ9wFfK5',
name: 'portrait',
value: 0.96101016,
app_id: 'main' },
{ id: 'ai_ks3RZ5zc',
name: 'whelp',
value: 0.95060456,
app_id: 'main' },
{ id: 'ai_QGHBfsBT',
name: 'funny',
value: 0.94730014,
app_id: 'main' },
{ id: 'ai_mlzFDBVV',
name: 'hound',
value: 0.9281318,
app_id: 'main' } ] } } ],
rawData:
{ status: { code: 10000, description: 'Ok' },
outputs:
[ { id: 'f715fc278bbc4ac3b3eb83c3487c93d3',
status: { code: 10000, description: 'Ok' },
created_at: '2017-12-02T23:38:51.586298315Z',
model:
{ id: 'aaa03c23b3724a16a56b629203edc62c',
name: 'general-v1.3',
created_at: '2016-03-09T17:11:39.608845Z',
app_id: 'main',
output_info:
{ message: 'Show output_info with: GET /models/{model_id}/output_info',
type: 'concept',
type_ext: 'concept' },
model_version:
{ id: 'aa9ca48295b37401f8af92ad1af0d91d',
created_at: '2016-07-13T01:19:12.147644Z',
status: { code: 21100, description: 'Model trained successfully' } },
display_name: 'General' },
input:
{ id: 'fee29417730b4c508d9d3d04b0c95374',
data: { image: { url: 'https://www.what-dog.net/Images/faces2/scroll001.jpg' } } },
data:
{ concepts:
[ { id: 'ai_8S2Vq3cR',
name: 'dog',
value: 0.99959314,
app_id: 'main' },
{ id: 'ai_gPNNX7LT', name: 'pet', value: 0.99831, app_id: 'main' },
{ id: 'ai_RjM4sQHM',
name: 'beagle',
value: 0.99626064,
app_id: 'main' },
{ id: 'ai_M6pVRDsX',
name: 'canine',
value: 0.99559164,
app_id: 'main' },
{ id: 'ai_4CRlSvbV',
name: 'cute',
value: 0.9955273,
app_id: 'main' },
{ id: 'ai_LRzQhTHd',
name: 'puppy',
value: 0.9953635,
app_id: 'main' },
{ id: 'ai_N6BnC4br',
name: 'mammal',
value: 0.9914612,
app_id: 'main' },
{ id: 'ai_R67cVW5t',
name: 'sit',
value: 0.99121034,
app_id: 'main' },
{ id: 'ai_5sqbqWHm',
name: 'domestic',
value: 0.98752236,
app_id: 'main' },
{ id: 'ai_kMfQ8z5w',
name: 'retriever',
value: 0.98254526,
app_id: 'main' },
{ id: 'ai_SzsXMB1w',
name: 'animal',
value: 0.97693837,
app_id: 'main' },
{ id: 'ai_vhVFqkx3',
name: 'breed',
value: 0.9761883,
app_id: 'main' },
{ id: 'ai_HkqZwBbr',
name: 'little',
value: 0.9749366,
app_id: 'main' },
{ id: 'ai_9fQBzNBM',
name: 'looking',
value: 0.9709641,
app_id: 'main' },
{ id: 'ai_xWCNmTbf',
name: 'adorable',
value: 0.96764356,
app_id: 'main' },
{ id: 'ai_bDG4NTgt',
name: 'purebred',
value: 0.9656729,
app_id: 'main' },
{ id: 'ai_TJ9wFfK5',
name: 'portrait',
value: 0.96101016,
app_id: 'main' },
{ id: 'ai_ks3RZ5zc',
name: 'whelp',
value: 0.95060456,
app_id: 'main' },
{ id: 'ai_QGHBfsBT',
name: 'funny',
value: 0.94730014,
app_id: 'main' },
{ id: 'ai_mlzFDBVV',
name: 'hound',
value: 0.9281318,
app_id: 'main' } ] } } ] } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment