Modules
Text Analytics
Chats, tickets and emails with the same form as voice. One standard, two channels.
Who it is for
Teams that serve through apps, WhatsApp or email and do not want a different standard from the call's. The questions are those of your text form, not a generic model's.
Formats and limits
txt, csv, json, jsonl, ndjson, eml, mbox, xml, vtt, srt and html are accepted, as UTF-8 and up to 5 MB per file. Through the API, up to 10 files go in one request.
Besides your own tables, exports from WhatsApp, Telegram (HTML), SMS (XML), email (eml and mbox) and subtitles (vtt and srt) are read.
In a CSV, one column says who speaks and another what was said. The usual names for each side (agent, asesor, bot, customer, usuario…) are normalised to agent and customer:
speaker,message
customer,"Hi, I would like to check my balance"
agent,"Sure. Could you confirm your customer number?"
customer,"It is 55310"printf 'X-API-KEY: %s\n' "$QI_API_KEY" | curl -H @- https://api-service.emotionalscoring.io/v1/integrations/uploads/text \
-H "X-TENANT-ID: $QI_TENANT" \
-F "files=@./chat-1.csv" \
-F "formKey=SOPORTE"If the file is read but no conversation turns up, the rejection says so: malformedJson, jsonNotArray, noTurnsFound, notUtf8 or emptyFile.
How to name files
The rules depend on the tenant. A name that breaks them is rejected with a code that says what to fix.
Shared tenant (Free and Pro)
Name[_KEY].ext: a free name up to 80 characters, no slashes, and optionally the form key as the last segment. The name you send is kept as display_name; the platform builds the full nomenclature internally with the upload's date and time (UTC), with your user as the agent.
llamada-cliente-123.mp3 # no form key
llamada-cliente-123_VENTAS.mp3 # form key VENTASOwn tenant (Enterprise)
Seven required fields separated by underscores, plus up to three extras. Each segment uses only letters, digits and hyphens, and the whole name stays within 255 characters.
# tenant_company_YYYYMMDD_HHMMSS_callId_clientId_agentId[_extra1_extra2_extra3].ext
acme_norte_20260905_143012_C10293_CL5531_AG042.mp3
acme_norte_20260905_143012_C10293_CL5531_AG042_VENTAS.mp3| Field | What goes there |
|---|---|
tenant | Your tenant. |
company | Your company (the API key's). |
YYYYMMDD | Date of the conversation, YYYYMMDD. |
HHMMSS | Time, HHMMSS on a 24-hour clock. |
callId | Id of the call or conversation in your system. |
clientId | Customer id. |
agentId | Agent id. |
extra1..3 | Up to 3 extra segments. A form key goes here. |
qi validate checks names before uploading, and qi rename or the --prefix, --suffix and --key options fix them.
Processing status
A text conversation skips transcription: it goes straight to nlp_analysis and the form evaluation. That is why analysis does not apply to text.
What you get
The same family of findings as voice — unbacked promises, dead ends, tone — comparable with Speech. In the API, source_type is text; remember to ask for it when listing:
printf 'X-API-KEY: %s\n' "$QI_API_KEY" | curl -H @- -G https://api-service.emotionalscoring.io/v1/integrations/interactions \
-H "X-TENANT-ID: $QI_TENANT" \
--data-urlencode "source_type=text"Cost in QI tokens
1 QI token per conversation with 3,000 words included, and 1 token more per extra 3,000 words or part of them. A 7,000-word conversation costs 3 tokens.
Full rates in QI tokens and plans.