Llm

Get llm translation

post
Body
activityTypestring · enumRequiredPossible values:
activityIdintegerRequired
sourceLanguagestringOptional
desiredLanguagestringRequired
Responses
200

Successful response

application/json
post
POST /api/v2/llm/translate HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 88

{
  "activityType": "reply",
  "activityId": 1,
  "sourceLanguage": "text",
  "desiredLanguage": "text"
}
{
  "translatedContent": "text",
  "translatedDescription": "text",
  "translatedLanguage": "unknown",
  "detectedLanguage": "unknown",
  "error": "text"
}

Check the quality of a content

post
Authorizations
Body
titlestringRequired
descriptionstringOptional
Responses
200

Successful response

application/json
post
POST /api/v2/llm/quality HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 37

{
  "title": "text",
  "description": "text"
}
{
  "score": 1,
  "error": "text"
}