---
title: "Predicts whether a phrase is a promoter, detractor or indifferent"
method: POST
path: "/brand-recommendation"
tags: ["Text Analysis"]
---

# Predicts whether a phrase is a promoter, detractor or indifferent

`POST /brand-recommendation`

## Query parameters

- `domain` 'Airlines' | 'Automotive' | 'Banking' | 'Ecom' | 'Employee' | 'Gaming' | 'Hotel' | 'Pharma' | 'Retail' | 'Restaurant' | 'ConsumerElectronics'

## Request body

- Post[]
  - `id` string — id of the post.
  - `text` string, required — the text to be analysed.
  - `language` string, required — language_code of the text.

## Response `200`

- OutputModelRecommendation[]
  - `id` string
  - `predictions` PredictedValueRecommendation[]
    - `probability` number, float
    - `prediction` 'Promote' | 'Detract' | 'Indifferent'

---

[API](https://skmtc.net/symanto/apis/psycholinguistic-text-analytics.md) · [All operations](https://skmtc.net/symanto/apis/psycholinguistic-text-analytics/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/symanto/psycholinguistic-text-analytics/versions/d74e31f8c7cc/schema)
