fix example

This commit is contained in:
Asim Aslam
2021-12-10 10:40:57 +00:00
parent 4154841cd6
commit 3b5eca0f37

View File

@@ -1,32 +1,22 @@
{ {
"text": [ "text": [
{ {
"title": "Translate String", "title": "Translate Text",
"run_check": false, "run_check": false,
"description": "Google Basic Edition Translation", "description": "Google Basic Edition Translation",
"request": { "request": {
"contents": [ "content": "hello",
"pen",
"pencil"
],
"model": "nmt", "model": "nmt",
"format": "text", "format": "text",
"source": "en", "source": "en",
"target": "zh" "target": "fr"
}, },
"response": { "response": {
"translations": [ "translation": {
{ "text": "Bonjour",
"text": "钢笔",
"source": "und", "source": "und",
"model": "nmt" "model": "nmt"
}, }
{
"text": "铅笔",
"source": "und",
"model": "nmt"
}
]
} }
} }
] ]