Text Management

Make the tone informal

Overview

Reformulates a text to make the content simpler, friendlier and more conversational.


Endpoint

  • POST /api/v1/text/friendlify

Use cases

  • Adapt messages to audiences and channels that require informal communications
  • Turn technical texts into more accessible communications.
  • Align tone across business channels
  • Prepare content for communities and social media
  • Integrate tone informalization into application flows via API

Technical specifications

  • INPUT: content
  • OUTPUT: content
  • ACCESS: API REST
  • CHANNELS: Cloud Management Platform, API Platform

Implementation examples

Input
curl --location 'https://api.ai.devops.aruba.it/api/services/textmanagement/v1/text/friendlify' \
--header 'Content-Type: application/json' \
--header 'ai-platform-key: ••••••' \
--header 'conversation-id: ••••••' \
--header 'Authorization: ••••••' \
--data '{
"content": "Ciao, domani sei libero alle 18?"
}'
Output
{
"content": "Ciao! Domani sei libero alle 18?",
"ai_platform_usage": {
"service": "text-management",
"namespace": "ai-platform",
"prompt_tokens": 429,
"completion_tokens": 143,
"total_tokens": 572
},
"ai_generated": true
}

Cost

0,0318 € + VAT / 1M token (input)
0,1533 € + VAT / 1M token (output)

NOTE

Submitted data is not used to train the models.