Skip to content

Commit 76ddf72

Browse files
[NLC] Added test resources and json api responses
1 parent 0d4ce42 commit 76ddf72

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"classifier_id": "47C164-nlc-243",
3+
"url": "https://gateway.watsonplatform.net/natural-language-classifier/api/v1/classifiers/47C164-nlc-243",
4+
"text": "is it hot ?",
5+
"top_class": "temperature",
6+
"classes": [
7+
{
8+
"class_name": "temperature",
9+
"confidence": 0.981897175307704
10+
},
11+
{
12+
"class_name": "conditions",
13+
"confidence": 0.018102824692296068
14+
}
15+
]
16+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"classifier_id": "5E00F7x2-nlc-507",
3+
"url": "https://gateway.watsonplatform.net/natural-language-classifier/api/v1/classifiers/5E00F7x2-nlc-507",
4+
"name": "Music controls",
5+
"language": "en",
6+
"created": "2015-10-17T20:56:29.974Z"
7+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"classifiers": [
3+
{
4+
"classifier_id": "47C164-nlc-243",
5+
"url": "https://gateway.watsonplatform.net/natural-language-classifier/api/v1/classifiers/47C164-nlc-243",
6+
"name": "weather",
7+
"language": "en",
8+
"created": "2015-08-24T18:42:25.324Z"
9+
},
10+
{
11+
"classifier_id": "5E00F7x2-nlc-507",
12+
"url": "https://gateway.watsonplatform.net/natural-language-classifier/api/v1/classifiers/5E00F7x2-nlc-507",
13+
"name": "Music controls",
14+
"language": "en",
15+
"created": "2015-10-17T20:56:29.974Z"
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)