forked from mirrors/LibreTranslate
update auto detect example to show "detectedLanguage" object in response
This commit is contained in:
parent
86cb815395
commit
dc81d6c80a
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,10 @@ Response:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
{
|
{
|
||||||
|
"detectedLanguage": {
|
||||||
|
"confidence": 83,
|
||||||
|
"language": "it"
|
||||||
|
},
|
||||||
"translatedText": "Bye!"
|
"translatedText": "Bye!"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue