Skip to content

Commit b286d9a

Browse files
committed
Update models with hosted models and add type field
1 parent 669957d commit b286d9a

1 file changed

Lines changed: 34 additions & 14 deletions

File tree

shared/rc/models.json

Lines changed: 34 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
22
"Language Detection" : {
3-
"model_id" : "languages",
4-
"user_list" : {},
5-
"description" : "This model infers the language of text input.",
6-
"fields" : [
3+
"id" : "languages",
4+
"type" : "hosted",
5+
"project" : "414649711441",
6+
"hostedModelName" : "sample.languageid",
7+
"user_list" : {},
8+
"description" : "This model infers the language of text input.",
9+
"fields" : [
710
{
811
"label" : "Phrase",
912
"help" : "Enter text in English, French or Spanish.",
@@ -12,19 +15,36 @@
1215
}
1316
]
1417
},
15-
"SMS Spam Detection" : {
16-
"model_id" : "smsspam",
17-
"user_list" : {},
18-
"description" :
19-
"This model classifies SMS messages as spam or ham (legitimate).",
20-
"fields" : [
18+
"Tag Categorizer" : {
19+
"id" : "tagcategorizer",
20+
"type" : "hosted",
21+
"project" : "414649711441",
22+
"hostedModelName" : "sample.tagger",
23+
"user_list" : {},
24+
"description" : "Tags a given text as pertaining to android, appengine, chrome, or youtube.",
25+
"fields" : [
2126
{
22-
"label" : "Text Message",
23-
"help" : "Enter a text message for spam analysis.",
27+
"label" : "Phrase",
28+
"help" : "Enter text for tag categorization.",
29+
"rows" : "3",
30+
"cols" : "50"
31+
}
32+
]
33+
},
34+
"Sentiment Predictor" : {
35+
"id" : "sentimentpredictor",
36+
"type" : "hosted",
37+
"project" : "414649711441",
38+
"hostedModelName" : "sample.sentiment",
39+
"user_list" : {},
40+
"description" : "Analyzes the sentiment of a short English-language text snippet.",
41+
"fields" : [
42+
{
43+
"label" : "Phrase",
44+
"help" : "Enter a text comment for sentiment analysis",
2445
"rows" : "3",
2546
"cols" : "50"
2647
}
2748
]
2849
}
29-
}
30-
50+
}

0 commit comments

Comments
 (0)