mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-21 06:55:03 +00:00
fix example
This commit is contained in:
@@ -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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user