mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
fix example
This commit is contained in:
@@ -1,32 +1,22 @@
|
||||
{
|
||||
"text": [
|
||||
{
|
||||
"title": "Translate String",
|
||||
"title": "Translate Text",
|
||||
"run_check": false,
|
||||
"description": "Google Basic Edition Translation",
|
||||
"request": {
|
||||
"contents": [
|
||||
"pen",
|
||||
"pencil"
|
||||
],
|
||||
"content": "hello",
|
||||
"model": "nmt",
|
||||
"format": "text",
|
||||
"source": "en",
|
||||
"target": "zh"
|
||||
"target": "fr"
|
||||
},
|
||||
"response": {
|
||||
"translations": [
|
||||
{
|
||||
"text": "钢笔",
|
||||
"translation": {
|
||||
"text": "Bonjour",
|
||||
"source": "und",
|
||||
"model": "nmt"
|
||||
},
|
||||
{
|
||||
"text": "铅笔",
|
||||
"source": "und",
|
||||
"model": "nmt"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user