Speech Insights
Speech Insights is the WinnerWare module for turning call recordings into searchable, governable, and reportable insight. It collects recordings from the places where they are delivered, transcribes them, removes sensitive data, applies your tags and indicators, and gives reviewers one place to search, listen, and export.
Overview
Speech Insights covers the full post-call workflow in six steps:
| Step | What happens | Where you manage it |
|---|---|---|
| 1. Ingestion | WinnerWare collects recordings and their metadata files from an ingestion source (file system, FTP/FTPS, or SFTP), or other applications send them with the API. | Speech Insights -> Ingestion Sources |
| 2. Transcription | Each recording is sent to Azure AI Speech, which returns the text of the call with speaker and timing information. | Speech Azure |
| 3. Redaction | AI finds sensitive values (card numbers, PINs, passwords, and so on) and masks them in the text, the search index, and the audio. | Speech Insights -> Redaction Rules |
| 4. Tags and indicators | Tags classify the call (for example "Escalation"). Indicators extract values from the call (for example "Cancellation reason"). | Speech Insights -> Transcript Tags, Indicators |
| 5. Search and review | Reviewers search completed calls, open a call to read and listen to it, and export results. | Speech Insights -> Search: Index Name |
| 6. Retro processing | New or changed tags and indicators are applied to calls that were already processed. | Speech Insights -> Retro Processing |
The Processing Queue shows where each call is in steps 2 to 4, and lets administrators retry calls that could not finish.
Key Features
- Collects recordings on a schedule (every hour) and on demand from one or more Ingestion Sources.
- Reports the last run of each source on the source list, and offers Test connection, Get statistics, and Clone actions.
- Starts the Ingestion Source Failed and Ingestion Source Succeeded workflow events after each run, so administrators can send an email or a notification when a source fails.
- Supports Candidate locales so a source can transcribe calls in more than one language.
- Masks sensitive data with AI Redaction Rules before tags and indicators run.
- Supports Keyword, Semantics, and Expression transcript tags, plus AI Indicators that extract values from each call.
- Organizes tags and indicators into Transcript Tag Groups and Indicator Groups.
- Lets authors test an inactive tag or indicator against existing calls before turning it on (Rule Evaluations).
- Provides Keyword, Semantic, and Expression search, sorted by most recent call by default.
- Lets users ask an AI model about the calls that a search found (Speech Insights Chat).
- Shows each call with collapsible sections, redacted audio playback, per-phrase silence colors, and an overall Transcript confidence.
- Supports Saved Lookups, CSV export, and an OData endpoint for tools such as Tableau, Power BI, or Excel.
- Provides a Processing Queue to monitor and retry transcript processing.
- Re-applies tags and indicators to older calls with Retro Processing.
How It Works
1. Bring recordings in through ingestion sources
An ingestion source tells WinnerWare where recordings are delivered and how to read their metadata. Go to Speech Insights -> Ingestion Sources, click Add Source, and pick a source type in Available Sources:
| Source type | Feature needed | Details |
|---|---|---|
| File System | Filesystem Recording Ingestion Source | Reads a folder in the tenant's own storage (under the tenant's Recordings folder). |
| FTP/FTPS | Speech Insights FTP | See Speech Insights FTP. |
| SFTP | Speech Insights SFTP | See Speech Insights SFTP. |
Source fields
Every source type has these fields:
| Field | What it does |
|---|---|
| Name | A business name for the source. Required. |
| Client | The client the calls belong to. Required. Tags, indicators, redaction rules, and search can be filtered by client. This field shows only when the Clients feature is enabled. |
| Locale | The language used to transcribe the calls, for example en-US. Required. |
| Candidate locales | Optional. Select two or more locales (at most 10) to let the transcription service detect which of them is spoken and transcribe each part in that language. The language can change during the call. Select none to always use the Locale. |
| Active? | When on, the source is included in the hourly and manual ingestion runs. When off, the source is skipped. |
| Path | File System sources only. The folder to read, relative to the tenant's Recordings folder. An absolute path, a drive letter, or .. is not accepted, so a source can only read folders inside that Recordings folder. Two sources cannot use the same path. |
Metadata File Map
A metadata file describes the recordings. WinnerWare reads .json files (an array of objects) and .csv files (with a header row). Each row describes one audio file.
When the source has no metadata file at all, WinnerWare ingests each audio file on its own. The file name is the External ID, and the file name without its extension is the CallId. A row without a CallId also uses its file name as the External ID, so a file that is sent again is not transcribed again.
The Metadata File Map tells WinnerWare which column in your metadata file holds each standard value. Enter your column name next to each field. When you leave a field empty, WinnerWare looks for a column with the same name as the field.
| Field | Meaning |
|---|---|
AudioFileName | The name of the audio file for this row. Required. |
CallDate | The date and time of the call. Required. |
CallId | Your call ID. WinnerWare stores it as the External ID. All the audio files with the same CallId become one transcript (see below). When the phone system splits a call into segments, use the segment ID here. |
ParentCallId | The ID of the whole customer call when the phone system splits it into segments, for example one segment for each agent after a transfer. Some systems call it the master contact ID. The segments of one call share this ID. Use it to find all the segments of one customer call. |
SegmentSequence | A whole number that gives the position of the segment in the parent call. When several audio files have the same CallId, it also gives the order of the files. |
PartCount | The number of audio files that have this CallId, when you know it. WinnerWare then processes the transcript only when all of the files are transcribed. |
ANI, DNIS | Calling and called numbers. |
AgentName, AgentId | The agent on the call. |
Disposition, QueueName, SiteName, Direction, Language, CustomerId | Call details used by filters and search. |
TalkTime, HoldTime, AfterCallWorkTime | Call times. Enter a number of seconds (for example 480) or a clock value (for example 00:08:00). |
Columns that are not in the map are kept as custom metadata. They appear in the Metadata section of the call and can be used with Add Filter in search and in exports.
Supported audio files are .wav, .mp3, .m4a, .mp4, .opus, .flac, .alaw, .ulaw, and .amr.
Calls that are split into several audio files
Some phone systems split one customer call into segments, for example when an agent transfers the call to another agent or department. WinnerWare creates one transcript for each segment. This is the industry standard for agent quality: the scores, indicators and playbooks of a segment apply only to the agent of that segment. To connect the segments again, give each row its own CallId (the segment ID) and the same ParentCallId. Search and exports can then find all the segments of one customer call.
A recorder can also split one recording into several audio files, for example when it starts a new file every few minutes. Give these files the same CallId. WinnerWare then builds one transcript from all of them:
- One transcript for each call ID. The first file creates the transcript. Each other file with the same
CallIdis a new part of that transcript. The files can come in the same metadata file, in different metadata files, or in different runs. - The same file is never added twice. A file with a
CallIdand a file name that the transcript already has is a duplicate: WinnerWare removes it and does not transcribe it again. - Each part is transcribed on its own, and the transcript is processed once. When all the parts that WinnerWare has are transcribed, it joins them in the order of
SegmentSequence, thenCallDate, then the time they came. It then runs redaction, tags, indicators and call playbooks one time for the whole call. - Send
PartCountwhen you know it. With it, WinnerWare waits until that number of files is transcribed before it processes the transcript. If the missing files do not come within 24 hours of the newest file, the transcript is processed with the files it has. - A part that comes later is added. Without
PartCount, the transcript is processed as soon as its files are transcribed. When another file of the call comes later, WinnerWare builds the transcript again from all of its files and processes it again one more time. This costs another run of the AI stages. To keep this possible, WinnerWare keeps the audio and the transcription of each file at Azure Speech for 24 hours after the transcript is processed. When thePartCountis reached, it removes them at once. - A part that comes too late is kept, not lost. A file that comes after that time, or that belongs to a transcript that was created before this feature, is moved to the
failedfolder of the source. It is not transcribed. - A file that cannot be decoded is moved to the
failedfolder. The transcript is built from its other files. - Find a call by any of its files. A Keyword search for the name of any file of the call finds the call.
- The first file that comes gives the metadata of the transcript, except the call date: the call date of the transcript is the earliest
CallDateof its files. The Recording files field of the call lists the files, in play order. Click a file name to go to that file in the phrase list. There, a heading shows where each file starts, with its file name, its start and end time, and a button that plays the call from the start of the file. A link to the call that ends with#recording-part-2opens the call at its second file.
The upload API follows the same rules. To change the 24-hour times, see Tune calls that are split into several files.
How an ingestion run works
- Every hour, and when you click Ingest recordings, WinnerWare checks each active source.
- Files changed in the last 2 minutes are left for the next run, so files that are still uploading are not read. Empty audio files are skipped.
- For each row in a metadata file, WinnerWare finds the audio file and sends it for transcription. The first file of a
CallIdcreates a transcript record. A new file of the sameCallIdis added to that transcript. A file that the transcript already has is removed and not transcribed again. - After a recording is accepted, WinnerWare removes it from the source. When every row in a metadata file is done, the metadata file is removed too.
- A recording that cannot be decoded (corrupt, cut off, or an unsupported format) is moved to a
failedfolder next to it at the source, and a failed transcript record is kept with the reason in its IngestionError metadata. It is not tried again. - Any other recording that fails is left at the source and tried again on the next run.
- A run starts no new recording after 55 minutes on a source. The recordings and the metadata rows that are left stay at the source, and the next run continues with them. A source with many recordings is thus ingested by one run after the other, and the log has one warning for each run that stops in this way.
Only one run can work on a source at a time. If a run is still working on a source when the next run starts, the new run skips that source. This stops two runs from transcribing (and paying for) the same recording twice. A run holds a source for 2 hours at most, and the 55-minute limit makes sure that a run ends before that time. When you click Ingest recordings while a run works on the source, WinnerWare shows a warning and starts no run.
A metadata file stays at the source while a row waits for its audio file. On each run, WinnerWare reads the rows of that file again. For a row whose recording is already ingested, it reads only the index of the transcript, not the transcript, so a metadata file with thousands of such rows does not slow down the run.
What the source list shows
Each source on Speech Insights -> Ingestion Sources shows:
| Item | Meaning |
|---|---|
| Active / Inactive | Whether the source is included in ingestion runs. |
| Processed time | When the last run finished. Hover over it to see how many recordings were ingested and how many failed ("Ingested N, failed N."). A warning icon shows that the last run stopped with an error. |
| Never processed | The source has not run yet. |
| Last error | Shown under the source name when an error stopped the last run. It is cleared when a run completes. |
A single recording or metadata file that fails does not create a Last error. It is counted in the failed number and tried again on the next run.
When the source cannot be reached during a run, the run stops with an error. For example, the FTP or SFTP server refuses the connection or the login, or the folder of a File System source does not exist. The source then shows the Last error, and the Ingestion Source Failed workflow event starts. A run that cannot reach the source is never reported as a run with 0 recordings ingested.
For an SFTP server that closes the connection before the SSH handshake, the error ends with what to check. Many servers block an IP address for some time after too many failed logins.
Source actions
The Actions menu on each source has:
| Action | What it does |
|---|---|
| Test connection | Connects with the saved settings and lists the root folder. The result, the Endpoint, and the Duration show on the source row. |
| Get statistics | Reports what is waiting at the source without ingesting it: Files, Audio files, Metadata files, Other files, Ready to ingest, Waiting to settle, Empty audio files, Subdirectories, and Total size. |
| Ingest recordings | Starts an ingestion run for this source now, in the background. The source must be active. If a run already works on the source, a warning shows and no run starts. |
| Clone | Creates an inactive copy named "Name (Copy)" with the same type, client, locale, field map, and connection settings, including credentials. WinnerWare opens the copy so you can review it before you activate it. Candidate locales are not copied, so set them again if you need them. For a File System source, change the Path, because two sources cannot use the same path. |
Use Edit to change a source and Delete to remove it. You can also select several sources and delete them together.
Get notified when a source fails
When the Workflows feature (OrchardCore.Workflows) is enabled, each ingestion run of a source starts one of these workflow events. They are in the Speech Insights category.
| Event | When it starts |
|---|---|
| Ingestion Source Failed | A run stopped with an error, for example a server that cannot be reached, a refused login or host key, or a folder that does not exist. |
| Ingestion Source Succeeded | A run completed without an error. It also starts when the run found no calls to ingest. |
Test connection and Get statistics do not start these events. An administrator starts them to check a source, and sees the result on the screen. Inactive sources and sources that another run holds are skipped, so they do not start an event either.
On each event, select Sources to start the event only for those sources. Leave it empty to start the event for all sources. The correlation ID of the workflow is the source ID.
The workflow input has these values. Use {{ Workflow.Input.SourceName }} in Liquid or input("SourceName") in JavaScript.
| Input | Value |
|---|---|
SourceId | The ID of the source. |
SourceName | The name of the source. |
SourceType | The type of the source, for example SFTP, FTP, or Filesystem. |
SourceTypeName | The display name of the type, for example SFTP or File System. |
StartedAt, FinishedAt | When the run started and finished on this source (UTC). |
IngestedCount | The number of recordings that the run ingested. |
SkippedCount | The number of recordings that were left for a later run (still uploading or empty) or removed as duplicates of calls that were already ingested. |
FailedCount | The number of recordings that failed. They are tried again on the next run, or moved to the failed folder. |
PreviousRunFailed | true when the run before this one stopped with an error. Use it to send a message only when a source starts to fail, or when it works again. |
ErrorMessage | Ingestion Source Failed only. The reason the run stopped. |
The input never contains the connection settings of the source, such as the host, user name, password, or private key.
Example: email the administrators when a source fails.
-
Enable the Workflows and Email features, and set up an email provider.
-
Go to Workflows -> Workflows, and create a workflow.
-
Add the Ingestion Source Failed event. Leave Sources empty, or select the sources to watch.
-
Add an Email Task and connect the Done outcome of the event to it. Use Liquid in the subject and the body:
-
Subject:
Ingestion source {{ Workflow.Input.SourceName }} failed -
Body:
The ingestion run of {{ Workflow.Input.SourceName }} ({{ Workflow.Input.SourceTypeName }}) stopped at {{ Workflow.Input.FinishedAt | local | date: "%Y-%m-%d %H:%M" }}.
Error: {{ Workflow.Input.ErrorMessage }}
-
-
Enable the workflow.
The hourly run starts the event every hour while the source fails. To send only one email when a source starts to fail, add an If/Else Task with the condition !input("PreviousRunFailed") before the Email Task. To send a message when the source works again, start a second workflow with Ingestion Source Succeeded and the condition input("PreviousRunFailed").
2. Transcribe the recording
Each accepted recording is sent to Azure AI Speech for batch transcription. When the transcript is ready, WinnerWare downloads the text, identifies which speaker is the Agent and which is the Customer, and then runs the processing stages below. See Speech Azure for the transcription pipeline.
When a source has two or more Candidate locales, Azure identifies the spoken language continuously, and each phrase stores the language that was detected for it.
3. Redact sensitive data
Before tags and indicators run, each transcript is sent to the AI deployment for sensitive-data redaction. The AI replaces sensitive values (for example card numbers, social security numbers, PINs, passwords, and CVVs) with ***** and keeps labels such as "account number" visible.
- Redaction Rules add your own instructions to the base redaction prompt. WinnerWare creates a Default PII Redaction rule during setup.
- Redaction is applied to the phrase text and to each word. When the redacted text cannot be matched word by word (for example when a multi-word card number becomes one token), the whole phrase is masked so that no raw value is saved or indexed.
- WinnerWare then creates a redacted audio file, which is the audio reviewers hear. A beep replaces each redacted word, from its start to its end. When redacted words overlap, for example when both speakers of a two-channel call say a card number at the same time, one beep covers all of them, so no part of a redacted word stays audible. The redacted audio has the same length as the recording.
- When WinnerWare cannot create the redacted audio, it does not save an empty file. The task fails at that stage and is retried like other failures.
- A transcript is never marked complete until redaction has finished.
- A transcript is never saved with phrases that were not redacted. Azure Speech returns the recognized text before redaction runs. When an attempt fails before redaction finishes (for example a redaction timeout, a speaker identification error, or an embedding error), WinnerWare discards the phrases of that attempt and saves only the task state. The next attempt downloads the phrases again from Azure Speech, then runs speaker identification and redaction again.
4. Apply tags and indicators
After redaction, WinnerWare applies every active tag and indicator whose filters match the call.
Each indicator is evaluated by its own AI request. When the AI model gives an answer that cannot be read, the request is sent again, up to 3 times. An indicator that still cannot be evaluated does not show on the call page; the call is processed again later to evaluate only the missing indicators (see Speech Azure). An indicator that was evaluated but found nothing shows No value extracted.
Transcript tags
A tag marks a call with a label. Go to Speech Insights -> Transcript Tags and click Add Tag. The Type decides how the tag is matched:
| Type | How it matches | Uses AI |
|---|---|---|
| Keyword | Looks for a word or phrase in each phrase of the call. | No |
| Semantics | The AI reads the whole call and decides whether the tag's Description applies. | Yes |
| Expression | Uses the same syntax as Expression search, for example speaker:customer after:60s (refund OR cancel). See Speech Insights Expression Search. | No |
Tag options:
| Option | Applies to | What it does |
|---|---|---|
| Name | All | The tag label shown on calls and in filters. Required. |
| Description | All | Explains the tag. For Semantics tags, the AI uses it to decide whether the tag applies. |
| Good examples | Semantics | Optional. Conversations or phrases where the tag should be applied. |
| Bad examples | Semantics | Optional. Conversations or phrases where the tag should not be applied. |
| Search scope | Keyword | Entire transcript, Customer phrases only, or Agent phrases only. |
| Match type | Keyword | Contains, Starts with, Ends with (compared with each phrase, not case-sensitive), or Lucene query for operators such as +, -, AND, OR, NOT, wildcards, fuzzy, and proximity. The editor shows a syntax reference for Lucene query. |
| Keyword / Expression | Keyword, Expression | The text or expression to match. An invalid expression cannot be saved. |
| After offset (seconds) | Keyword | Only matches phrases that occur after this many seconds from the start of the recording. |
| In last (seconds) | Keyword | Only matches phrases in the last this-many seconds of the recording. |
| Clients, Ingestion sources | All | Only applies the tag to calls from these clients or sources. A call's client is the client of its ingestion source. The client filter is used only when the Clients feature is enabled. |
| Groups | All | Adds the tag to one or more Transcript Tag Groups. |
| Recording date from, Recording date to | All | Only applies the tag to recordings in this date range. |
| Dispositions, Queues, Agents | All | Only applies the tag to calls with these values. Enter names separated by commas. |
| Active? | All | When on, the tag is applied to all new recordings that match the filters. |
In an Expression tag, tag:"Name" can refer to tags already on the call and to Keyword or Expression tags matched earlier in the same pass. Semantics tags are classified after expression tags, so on a new call a tag: reference to a Semantics tag does not match yet.
Indicators
An indicator uses AI to extract a value from each call, for example the reason for a cancellation. Go to Speech Insights -> Indicators and click Add Indicator.
| Option | What it does |
|---|---|
| Name | The indicator name. Required. |
| Description | Explains the indicator. On the indicator list, hover over the info icon to read it. |
| Extraction Prompt | The AI instructions that say what to extract and how to format it. Required. |
| Value type | Text (the default), Number or Date. For a number or a date, the AI model is asked to return the value in a standard format (a plain number, or yyyy-MM-dd), and the value is also stored as a number or a date in the search index (the IndicatorValues field). |
| Allowed values | Optional. One value on each line, for example the reasons of a call. The AI model is asked to answer with one of these values, and the values are stored with this spelling, so the calls can be counted by value. |
| Clients, Ingestion sources | Only applies the indicator to calls from these clients or sources. A call's client is the client of its ingestion source. The client filter is used only when the Clients feature is enabled. |
| Groups | Adds the indicator to one or more Indicator Groups. |
| Recording date from, Recording date to | Only applies the indicator to recordings in this date range. |
| Index | Optional. Pick a search index to load the values for the pick lists below. The index is used only to fill the lists. It is not used when matching calls. |
| Dispositions, Queues, Agents, Sites, Directions | Only applies the indicator to calls with the selected values. |
| Talk time (seconds), Hold time (seconds), After call work time (seconds), Total silence (seconds), Longest silence (seconds) | Only applies the indicator to calls whose value is in the From / To range. To must be greater than or equal to From. |
| Active? | When on, the indicator is evaluated on all new recordings that match the filters. |
An indicator with the default Text value type and no allowed values keeps the same prompt as before. A change of the value type or the allowed values applies to the calls that are evaluated after the change; use Retro Processing for older calls.
On the call page, each value has a link to the time of each phrase where it was said, when the value is in the words of the call. The link opens the recording at the start of that phrase. A value with fields such as Evidence Quote: … || Confidence: HIGH is searched one field at a time, without the field names. A code in capital letters, such as YES or NOT_FOUND, gets no link, because it is not a word of the call. Case, punctuation and the apostrophe style are ignored, and a quote can continue into the next phrase. In a quote of five or more words, a maximum of one word in five can be different from the call. A mask such as [REDACTED] or an ellipsis divides a quote, and the longest part is searched. A value shows a maximum of five links.
The AI model always answers an indicator with a list of values (a JSON array of text). A format that the extraction prompt asks for, such as "return one line" or Disposition Outcome: <value> || Confidence: <value>, applies to the text of each value. An instruction such as "do not add JSON" does not change this: an answer that is not a list of values cannot be read, and the indicator gets no value for that call. In retro processing, such a call is listed under Failed transcripts with the error "the AI model returned an answer that is not valid".
Each indicator is extracted with its own AI request, so its prompt is evaluated alone. If the AI provider refuses a call's text because of its content policy, that indicator is skipped for that call, the other indicators still run, and the call still completes.
Tag groups and indicator groups
Transcript Tag Groups and Indicator Groups have a Name, a Description, and an Active? setting. Use them to organize long lists. The tag and indicator lists can be filtered by Group, Client, and Ingestion source, and the tag list also by Type.
Test a tag or indicator before you turn it on
An inactive tag or indicator shows Evaluate against existing transcripts in the action bar of its edit screen. In the Menu actions layout or on a small screen, it is in the ellipsis menu of the bar. The evaluation first applies the rule's saved filters to find candidate calls, then evaluates a sample:
| Option | What it does |
|---|---|
| Sample size | How many candidate calls to evaluate. It is capped by a hard limit (by default 5,000 for keyword tags and indicators, and 250 for semantics and expression tags). |
| Evaluation mode | Summary only stores only the counts. Full Evaluation stores each sampled call so you can page through the results. |
| Created from, Created to | Optional. Only include transcripts created in this date range. |
Click Run evaluation. The run is saved immediately and processed in the background. Follow it in Speech Insights -> Rule Evaluations, where each run shows In Progress, Succeeded, or Failed, with Candidates, Sampled, and Matched counts. For Full Evaluation, the stored rows show Matched or No match, the Matched text or Extracted value, and the Reason.
When the results look right, turn on Active?. To apply the rule to calls that already exist, use Retro Processing.
Call playbooks
A playbook turns a QA form, a call script or a call flow into the phases of a call and the checks that each call must pass. Go to Speech Insights -> Call Playbooks and click Add Playbook. For a step-by-step guide, how to write good checks, and when calls are evaluated, see Speech Insights Call Playbooks.
| Field | What it does |
|---|---|
| Name, Description | Identify the playbook. |
| Draft from a document | Optional. Upload the QA form, script or call flow (text, Markdown or CSV; Word, PDF, PowerPoint and spreadsheets need the AI Documents features), and click Draft. The AI model drafts the phases and checks. Review them before you save; nothing is saved until you click Save. |
| Phases | The parts of a call, in the order that a call follows, for example Opening and verification, Issue identification, Issue resolution, Resolution confirmation and Call closing. Each phase has a name, what happens in it, and how you know that it starts (the transition cue). |
| Checks | What a reviewer checks in each call. Each check has a name, instructions (what to look for, and when the check passes, fails or does not apply), an optional phase, and a Weight (how much it counts in the adherence; 0 means that the check is reported but not counted). |
| Filters | The same filters as an indicator: clients, ingestion sources, recording dates, dispositions, queues, agents, sites, directions, and talk, hold, after call work and silence ranges. |
| Active? | When active, the playbook is evaluated on each new call that matches its filters, after the indicators. A new playbook is not active. |
For each call, the playbook is evaluated in one AI request (the utility deployment) for all its phases and checks. A call that matches two playbooks gets one request for each playbook. The request finds where each phase starts and decides each check: Passed, Failed or Not applicable, with a reason and the phrases that are the evidence. Then WinnerWare calculates, with no AI:
- the adherence: the weight of the passed checks as a percent of the weight of the passed and failed checks. Not applicable checks and checks with weight 0 are not counted. See How a call is scored;
- for each phase: its start and end, duration, agent and customer talk time, silence, long silences (the non-value-added time, such as hold and dead air), and an estimated hold time. The phone system gives only the total hold time, so WinnerWare puts it in the longest silences of the call.
A phase lasts from its first phrase to the start of the next phase that the call has. The first phase of the call starts at the start of the recording.
- Test on recent calls (in the action bar of the edit screen of a saved playbook) evaluates the playbook on the newest completed calls that match its filters, up to 10, and shows the results. The results are not saved.
- Each change of the phases or checks raises the version of the playbook. Calls that were evaluated before keep their results with the old version. To evaluate them with the new version, use Retro Processing.
- A call shows its results in the Playbooks section of its page.
- The results are in the search index, in the
Playbooks,PlaybookChecksandCallPhasesfields. See Add new index fields to an existing index. They are not in the OData feed.
5. Search and review
Search a transcript index
Each Speech Insights search index adds a Speech Insights -> Search: Index Name page. On a large screen, the search form is in a column at the left of the results. On a small screen, the search form is above the results. To give the results more room, click the arrow in the Search Form header to hide the form, and click Search Form to show it again. The filter sections of the form are collapsible. WinnerWare remembers in your browser if you hid the form and which filter sections you opened or closed.
The results show in a card. The card header shows the record count, for example Showing 1-10 of 56 records.
| Section | What it contains |
|---|---|
| Search Form | The search mode (Keyword, Semantic, or Expression), the query, the speaker (Any Role, Agent, or Customer), a Date range, and the Tags, Sites, Clients, Dispositions, Queues, Agents, and Indicators filters. |
| Silence Filters | Total Silence From (seconds), Total Silence To (seconds), Longest Silence (seconds), and Show silence time, which adds a silence column to the results. |
| Call Time Filters | Talk Time (seconds), Hold Time (seconds), and After Call Work Time (seconds), each with Equals, Not Equals, Greater Than, Less Than, or Between. |
| Advanced Filters | Add Filter for custom metadata fields and Add Indicator Filter for extracted indicator values, with operators such as Equals, Contains, Starts With, Greater than, Advanced Search, or Regex, and match options such as Case Insensitive and Fuzzy (Auto). |
| Result Sorting | Sort by and Direction. The default is Most recent (default): newest call first. Choose Relevance to rank by search match, or pick a field such as call date, silence, talk time, hold time, or confidence. |
The search modes work like this:
- Keyword finds the calls whose transcript has all the words, together with the filters. It also finds a call by a standard value: the call ID, the parent call ID, the external ID, the file name, the audio file name, the name of any file of a call that is recorded as several files, the Speech Insights call ID, the agent name or ID, the customer ID, the caller (ANI) or the dialed number (DNIS), the queue, the disposition, or the site. The whole value must match, in any case. A call ID or a file name also matches the start of the value, so a call ID finds a call whose files are named
<call ID>-0.wavand so on. A call that the value identifies comes first when you sort by Relevance. When you select a speaker, the keyword matches only the phrases of that speaker, and not the standard values. - Semantic finds calls by meaning. WinnerWare reads the question, picks out filter details such as agents or dates, and compares meaning with embeddings created when the call was processed. A semantic search returns the 100 calls that match best. When you select a speaker, WinnerWare compares only the phrases of that speaker, so a call matches when that speaker said something similar.
- Expression uses the speech-analytics syntax described in Speech Insights Expression Search. In Expression mode, click Expression syntax to open a dialog with the syntax, examples, and the fields of the index.
The result list shows the fields selected in Settings -> Speech Insights -> Search result fields, the tags on each call, and a View link.
Chat with the calls
When the Speech Insights Chat feature is on, the search form shows Chat with these calls next to Search. The button is available to users with the Edit chat interactions permission. It shows only when the search found at least one call.
- Search for calls with the filters you need, and click Search.
- Click Chat with these calls. WinnerWare opens a new AI chat about the calls that the search found.
- Ask questions, for example "Why do customers call about billing?", "How many of these calls ended with a sale?", "Which checks of the withdrawal playbook fail most, by agent?", or "Where does the time go in these calls?".
- The chat uses the calls that the search found when you started the chat. These calls do not change. To chat about other calls, change the search and start a new chat. The Settings tab of the chat shows the calls and the filters, with a link that opens the search again.
- When you selected a speaker, the chat searches only the phrases of that speaker.
- For each question, WinnerWare finds the phrases most similar to the question and gives them to the AI model. Each answer cites the calls it used. Click a citation to open the call at that phrase.
- For analysis, the chat uses the Speech Insights Analyst, an AI agent that queries the calls of the chat directly. The agent:
- counts the calls that match any combination of call fields, call times, tags, indicator values, metadata values and what was said (words, an exact phrase, an expression, or phrases similar in meaning);
- breaks the counts down by one or two fields, such as queue and disposition, by day, week or month, or by ranges of talk time, with the average, median, p90 and standard deviation of the call times and the call measures, such as handle time and agent talk time;
- compares groups of calls side by side, such as long calls and typical calls;
- filters by the number and date values of indicators, by the adherence of a playbook, by the outcome of a playbook check, and by the duration or the long silences of a call phase;
- gives the results of a playbook: the evaluated calls, the adherence, and the pass rate of each check, optionally by agent, queue or another field;
- makes a value stream map of the call phases of a playbook: for each phase, the time, the talk and silence, and the non-value-added time (the long silences, such as hold and dead air), with how often it occurs and its average impact. The phase with the most non-value-added time is the main bottleneck;
- calculates percents, savings and ROI with a calculator, from the numbers of the data and the numbers that you give (such as a cost per hour);
- reads a sample of up to 200 calls with the AI model to find themes, reasons, customer sentiment and whether the issue was resolved, with quotes;
- finds examples and reads full calls.
- The counts of the agent are exact, except a count of phrases similar in meaning, which depends on a similarity score. The agent then says that the count is an estimate. A share from a sample of calls is also an estimate, and the agent says the sample size. When a question needs a judgement that no field, tag, indicator or check has, the agent suggests a playbook check or an indicator that would give the exact number.
- The results of different playbook versions are never combined. The agent uses the newest version that evaluated calls of the chat, and tells you about the other versions.
- The agent sees only the calls of the chat. The calls that a search found are the most it can use. For a comparison with earlier weeks, start the chat from a search with a wider date range.
- The AI model gets only the redacted phrase text.
- To use the chat, you must still have access to search the index.
The chat uses the Chat deployment for the answers, the Embedding deployment to find phrases, and the Utility deployment to read a sample of calls, so the AI chat interactions feature and an embedding deployment must be configured.
Call measures
When a call is indexed, WinnerWare calculates these measures from the phrases and the phone system times. The calculation does not use AI. All times are in seconds.
| Measure | How it is calculated |
|---|---|
| Recording duration | The length of the recording from the transcription. For calls transcribed before this measure existed, the end of the last phrase. |
| Handle time | Talk time + hold time + after call work time, from the phone system. Only when the phone system gives the talk time. |
| Agent talk time, Customer talk time | The time that each speaker role speaks. Phrases of the same speaker that overlap are counted once. |
| Agent talk percent | The agent talk time as a percent of the agent and customer talk time. |
| Over-talk time | The time that the agent and the customer speak at the same time. |
| Long silence count, Long silence time | The silences between phrases that are as long as the long silence threshold or longer (5 seconds by default). |
| First phrase offset | The time from the start of the recording to the first phrase. |
- The existing Total silence and Longest silence values do not change.
- The measures are not on the search form. The Speech Insights Analyst in the chat can count, filter, and break down calls by these measures, with averages, medians, and standard deviations. Exports and Tableau pipelines can select them in the Timing group.
- An index that was created before the measures existed gets their field mappings automatically when the next call is indexed. The older calls get the measures when you rebuild the index (Search -> Indexes -> Rebuild). See Add new index fields to an existing index.
Review a call
Click View to open a call. Only completed calls open. A call that is not completed shows Not Found, because its phrases can contain text that was not redacted. The page has collapsible sections, in this order:
| Section | What it shows |
|---|---|
| Recording Information | General call details in two columns (file name, ANI, DNIS, call date, agent, disposition, site, customer ID, direction, queue, language), then the timing values: Talk time, Hold time, After call work time, Total silence, Transcript confidence (the average confidence of the recognized phrases), and the call measures (Handle time, Recording duration, Agent talk time with its percent, Customer talk time, Over-talk time, and Long silences). |
| Metadata | Custom metadata columns from the metadata file. |
| Indicators | The value extracted for each indicator, or No value extracted. |
| Tags | The tags applied to the call. |
| Recording | The redacted audio player and the phrase-by-phrase transcript. Click a time to jump to it, copy a link to a phrase, or play from a phrase. |
Each phrase shows the silence before it. Silences are gray when short, orange from 3 seconds, and red from 10 seconds. You can change these thresholds in Settings -> Speech Insights -> Silence highlighting. The audio player appears only for users with the Download redacted speech audio file permission.
To open a call page, a user needs permission to query at least one Speech Insights search index, the same permission that opens a search page. This also applies to the View links in exports.
Saved lookups
A saved lookup stores a set of search filters under a name, so reviewers can repeat a search in one click.
- Create one in Speech Insights -> Saved Lookups with Add Lookup. Pick the index, enter the Display text, and fill in the search form under Lookup Values.
- On the search page, the Saved Lookups panel lists saved lookups. Click Apply to load one into the search form.
Export results
When the Speech Insights Export feature is on, the Query & Export panel offers:
- Export File: choose the standard fields, Tags, Indicators, Additional Metadata and the call playbook columns to include, and download a CSV or an Excel (.xlsx) file. Up to 10,000 records download directly. Larger exports run in the background, and WinnerWare sends a notification when the file is ready.
- Each playbook is a section of columns: its adherence, version and check counts, the outcome and the reason of each check, and the start, duration, agent and customer talk, silence, long silences and estimated hold of each phase. Each check and each phase is its own column. A call that the playbook did not evaluate, or that does not have the phase, has an empty cell. See Export the results.
- In an Excel file, numbers and dates are typed cells, so you can sort, sum and chart them, and an indicator with the Number or Date value type gives its number or date. The first row has the column names, stays visible and has a filter. A CSV file writes every value as text, as before.
- An Excel sheet has at most 1,048,576 rows, and a cell has at most 32,767 characters, so a long transcript is cut in an Excel file. Use CSV for larger exports.
- Elasticsearch DSL Query JSON: the query behind the current search.
- The OData Service URL and Metadata URL for tools such as Tableau, Power BI, or Excel. The endpoint uses basic authentication and requires the Access indexed data using API permission. It uses the same password check as the sign-in page: wrong passwords count toward the account lockout, and a locked-out or disabled user cannot read data. To filter the documents, put an Elasticsearch query in
$filter=dsl=...ordsl=...(URL-encoded JSON). The query must follow the query rules.
Exported files are kept for the number of days in Report retention (days). A weekly task removes older files.
To export on a schedule, or to keep another system such as Tableau Cloud up to date, use the Orchard Core Data Pipelines: they read the transcripts, the tags, the indicators and the call playbooks. See Speech Insights Data Pipelines.
Query rules for exports and OData
The export endpoint (speech/insights/export/{indexName}) and the OData endpoint accept an Elasticsearch query as JSON. Before the query runs, WinnerWare checks it against a read-only subset of the query DSL. The queries that the search page makes always follow these rules, so the Export File button and the URL on the OData panel work without changes.
| Part | Allowed |
|---|---|
| Top-level keys | query, knn, sort, aggregations (or aggs). size, from, track_total_hits and _source are also accepted, but the endpoints set their own values. |
| Query clauses | bool (must, filter, should, must_not, minimum_should_match), nested, constant_score, dis_max, match, match_phrase, match_phrase_prefix, match_bool_prefix, multi_match, query_string, simple_query_string, term, terms (with a list of values only), range, exists, prefix, wildcard, regexp, fuzzy, ids, match_all, match_none. |
knn | field, query_vector, k, num_candidates, filter (allowed query clauses), similarity, boost. |
sort | Field sorts with order, mode, nested (path, filter), missing, unmapped_type, numeric_type and format, and _score and _doc. |
| Aggregations | terms (field, size) and nested (path), with sub-aggregations of the same types. |
WinnerWare refuses a query that has any of these, at any level:
- a script:
script,script_score,script_fields, a script sort (_script),scripted_metric,bucket_script,bucket_selectororminimum_should_match_script, runtime_mappings,- a query that reads another index: a
termslookup (index,id,path),more_like_this,percolateorindexed_shape, wrapper(a Base64 query that hides its content),- a clause, parameter, aggregation or top-level key that is not in the table above, for example
function_score,highlight,post_filter,inner_hitsorquery_vector_builder.
The query text can have a maximum of 262,144 characters and a maximum nesting depth of 64 objects and arrays.
When a query is refused, the endpoint returns 400 Bad Request with a message that names the key that is not allowed. The OData endpoint sends the message in the OData error format. WinnerWare also writes a warning to the log with the user name and the key (not the full query).
Download a background export
The notification for a background export has a link to speech/insights/export-file/{fileName} on the site. WinnerWare makes the link when the user starts the export, so the link uses the same site address as the user. The link always goes to this download endpoint, also when the files are kept in Azure Blob Storage. It is never a direct link to the storage account. The endpoint sends the file in parts, so large files do not have to fit in memory.
WinnerWare records the user that started each background export. The download endpoint gives the file only to:
- the user that started the export, when that user also has the Export speech transcript permission, or
- a user with the Download speech transcript exports of other users permission.
All other signed-in users with Export speech transcript get 404 Not Found, the same answer as for a file that does not exist. Thus a user cannot find the names of the files of other users. A user without either permission gets 403 Forbidden before the file name is examined. The endpoint accepts only a plain file name (letters, digits, -, _ and ., with no ..).
Files from an older version of the module do not have a recorded owner. Only users with Download speech transcript exports of other users can download them. These files are removed by the weekly clean-up when the retention period ends. Older notifications for exports in Azure Blob Storage have a direct storage link that stays valid until it expires (the retention period). To stop these links before then, rotate the storage account key.
6. Monitor processing and retry failures
Speech Insights -> Processing Queue shows each call's processing task. Cards above the list show the number of tasks with each status, and a banner shows Queue is healthy or Queue has abandoned items. Search by file name or External ID. In the list toolbar, use the Status filter (All statuses, Pending, Processing, Completed, or Abandoned) and the Sort filter (Created or Last attempt).
| Status | Meaning |
|---|---|
| Pending | Waiting to be processed, or waiting for its next retry (see Next retry). |
| Processing | Being processed now. |
| Completed | Every stage finished: download, speaker identification, redaction, tags, indicators, redacted audio, and clean-up. |
| Abandoned | The task failed on every attempt. Open Error details to see why. |
A failed task is retried automatically after 1, 5, 15, 30, and 60 minutes, up to 6 attempts (Attempt X/Y). Each retry continues from the stage that failed. A task that failed before redaction finished starts again from the download, because its phrases were not saved (see Redact sensitive data). After the last failed attempt, the task is Abandoned. Fix the cause, then click Retry on the task. To retry more tasks, select two or more abandoned tasks and use the Retry selected bulk action, or click Retry all abandoned beside the search.
Azure Speech keeps a transcription for 7 days after the recording is submitted. A retry that must download the phrases again after that time cannot find the transcription, and the task is abandoned again.
See how many calls each source ingested
The Ingestion sources report shows how many calls each source brought in, so you can see when calls arrived but did not finish. Go to Reports -> Speech Insights -> Ingestion sources. It is available when the Reports feature (CrestApps.OrchardCore.Reports) is on, and it needs the View the Speech Insights ingestion sources report permission.
The date range filters on the date that the call was ingested (the date its transcript was created), not on the call date. The report opens on today.
| Row | What it counts |
|---|---|
| One row per ingestion source | The calls of a saved source (SFTP, FTP, Filesystem, and so on), by its name. A source that ingested no calls in the period shows 0. |
| API | The calls that arrived through the upload API (POST api/speech-insights/recordings). |
| Deleted source (id) | The calls of a source that was deleted after it ingested them. |
| No source | Calls without a source. |
| Total | All the calls in the period. |
Each row has the Total and one column for each transcript status: Completed, Not started, Queued, Processing, Failed and Abandoned. The cards above the table show the calls ingested, the completed calls, the calls that are not completed, and the API uploads. Use Export to download the table as CSV, or as Excel when Reports (OpenXml) is on.
Calls saved with phrases that were not redacted
Earlier versions saved the phrases of a failed attempt before redaction finished, so a call that is Pending, Processing, or Abandoned can still hold text that was not redacted. These calls are not shown on the call page, in search, in exports, or in the chat, because those show only completed calls. To remove the text from the store:
- Pending and Processing calls are cleaned automatically. The next attempt redacts the saved phrases, or discards them when it fails before redaction finishes.
- Abandoned calls are cleaned when a task is saved again. After you upgrade, click Retry all abandoned one time. Each call then either completes with redacted phrases or fails and is saved without phrases.
7. Apply rules to older calls
New and changed tags and indicators apply only to new calls. To apply them to calls that were already processed, use Speech Insights Retro Processing.
8. Move calls to a different tenant
Use a deployment plan to export processed calls from one tenant, and a recipe to import them into a different tenant. The import does not process the calls again, so it does not send requests to the AI deployments.
- Go to Configuration -> Deployment -> Deployment Plans and open a plan.
- Add the Speech Transcripts step.
- Optionally, select one or more Ingestion sources and one or more Clients. When you select no value for a filter, the step does not filter on it. The step exports the calls of the ingestion sources of the selected clients.
- Run the plan, then import the package into the other tenant.
| What is exported | What is not exported |
|---|---|
| Each completed call, with all of its data: the phrases, the words and their redaction flags, the phrase embeddings, the call metadata, the tags, and the indicator values. | Calls that are not completed, the processing tasks, and the audio recordings. |
The import creates each call, or updates the call that has the same ID. When no call has the same ID, the import updates the call that has the same ingestion source and external ID. The import saves each call in the same way as call processing does. Thus, the search indexes get the imported calls, and other integrations, such as Tableau, get them too.
The phrase embeddings make each call large. Use the filters to keep the deployment package to a manageable size. Import the ingestion sources, clients, tags, and indicators that the calls refer to before you import the calls.
Configuration
Enable the features your rollout needs
| Admin display name | Feature ID | Use when |
|---|---|---|
| Speech Insights | CloudSolutions.Speech.Insights | You need the main Speech Insights admin, search, tagging, redaction, saved lookup, retro processing, and queue features. |
| Filesystem Recording Ingestion Source | CloudSolutions.Speech.Insights.Filesystem | You want recordings to be ingested from a folder in the tenant's storage. |
| Speech Insights Export | CloudSolutions.Speech.Insights.Export | You want CSV exports and the Settings -> Speech Insights page (result fields, silence highlighting, and export retention). |
| Speech Insights Export - Azure | CloudSolutions.Speech.Insights.Export.Azure | You want exported files stored in Azure instead of the local tenant file system. |
| Speech Insights Chat | CloudSolutions.Speech.Insights.Chat | You want users to ask an AI model about the calls of a search. Needs Elasticsearch and AI Chat Interactions. |
| Clients | CloudSolutions.Clients | You want to assign ingestion sources to clients and filter by client. Optional. |
Transcription also needs Speech Service (Azure). See Speech Azure.
Speech Insights does not require the Clients feature. When Clients is enabled, these items show:
- The Client field of an ingestion source.
- The Clients filter of tags, indicators, redaction rules, retro-processing runs, and Tableau export pipelines.
- The Client filter of the tag list and the indicator list.
- The Clients filter of the search form, the Client name search result field, and the Client Name export field.
When Clients is disabled, these items do not show. A client filter that a tag, an indicator, or a playbook already has (for example, from an import) stays saved but is not used: the rule applies to calls from every client, and its other filters still apply. Rule Evaluations ignore it too. A client filter that a redaction rule already has stays saved but is not used. A redaction rule applies to a call when the call matches one of its filters, so a rule that has only a client filter applies to every call. A rule that also has an ingestion source filter applies to the calls from those sources. A retro-processing run and the Speech Transcripts deployment step also ignore a client filter. A client filter that a Tableau pipeline already has stays saved and continues to apply. The search form ignores a client filter, because users cannot see it.
Create a search index
Search pages come from search indexes. Go to Search -> Indexes, add an Elasticsearch index, and choose the Speech Insights source. Each index adds its own Search: Index Name menu item. Users need permission to query search indexes to open it.
Set the AI deployments
Speech Insights uses the tenant defaults in Settings -> Artificial Intelligence:
| Deployment | Used for |
|---|---|
| Utility deployment (or the Chat deployment when no utility deployment is set) | Redaction, Semantics tags, indicators, playbooks (and drafting them from a document), rule evaluations, retro processing, reading Semantic search questions, and reading a sample of calls for the Speech Insights Chat. |
| Embedding deployment | Phrase embeddings created during processing, Semantic search, and finding phrases for the Speech Insights Chat. |
| Chat deployment of the chat | The answers of the Speech Insights Chat. |
See AI Deployments for how to create deployments and set the defaults.
Speech Insights settings
With the Speech Insights Export feature on, Settings -> Speech Insights has these settings. They require the Manage Speech Insights Settings permission.
| Setting | What it does |
|---|---|
| Report retention (days) | How long exported reports are kept and can be downloaded. Default 7. Must be at least 1. |
| Search result fields | Which standard fields appear on the search results. Available fields: agent name, agent ID, client name (only when the Clients feature is enabled), disposition, queue name, site name, direction, language, call date, talk time, hold time, after call work time, total silence, file name, customer ID, ANI, and DNIS. When nothing is selected, WinnerWare shows agent name, client name, disposition, queue name, talk time, total silence, and call date. |
| Orange silence starts at (seconds) | Silences at or above this value are orange. Default 3. |
| Red silence starts at (seconds) | Silences at or above this value are red. Default 10. Must be greater than or equal to the orange value. |
Main admin areas
| Admin area | Purpose |
|---|---|
| Speech Insights -> Search: Index Name | Search completed calls for a Speech Insights index. |
| Speech Insights -> Ingestion Sources | Create and manage recording sources. |
| Speech Insights -> Transcript Tags | Maintain tag definitions. |
| Speech Insights -> Transcript Tag Groups | Organize tags into groups. |
| Speech Insights -> Indicators | Maintain indicator definitions. |
| Speech Insights -> Call Playbooks | Maintain playbooks, draft them from a document, and test them. |
| Speech Insights -> Indicator Groups | Organize indicators into groups. |
| Speech Insights -> Retro Processing | Apply tags and indicators to calls that were already processed. |
| Speech Insights -> Rule Evaluations | Follow tag and indicator test runs. |
| Speech Insights -> Redaction Rules | Control how sensitive content is masked. |
| Speech Insights -> Saved Lookups | Save reusable searches. |
| Speech Insights -> Processing Queue | Monitor processing and retry abandoned calls. |
| Reports -> Speech Insights -> Ingestion sources | Count the calls that each source and the upload API ingested, per status. Needs the Reports feature. |
| Settings -> Speech Insights | Export retention, search result fields, and silence highlighting. |
Redaction rules
Go to Speech Insights -> Redaction Rules to add instructions to the redaction prompt.
| Option | What it does |
|---|---|
| Name | The rule name. Required. |
| Description | Explains the rule. |
| Rule Instructions | Free-form text about what to redact or what not to redact. It is added to the base redaction prompt. Required. |
| Clients, Ingestion sources | Only applies the rule to calls from these clients or sources. A rule applies to a call when the call matches one of the two filters. Leave both empty to apply the rule to all calls. A call's client is the client of its ingestion source. The client filter is used only when the Clients feature is enabled. |
| Active? | When on, the rule is used during redaction of matching calls. |
Permissions
| Permission | Purpose |
|---|---|
| Manage Ingestion Sources | Create, edit, test, clone, run, and delete ingestion sources. |
| Manage Speech Transcript Tags | Maintain transcript tags and tag groups. |
| Manage Speech Indicators | Maintain indicators and indicator groups. |
| Manage Call Playbooks | Maintain, draft and test playbooks. |
| View Speech Rule Evaluations | Open Rule Evaluations and see your own evaluation runs. To start an evaluation, a user needs Manage Speech Transcript Tags or Manage Speech Indicators. |
| View Speech Rule Evaluations Created By Others | See evaluation runs created by other users. It also gives View Speech Rule Evaluations. |
| Manage Speech Transcript Retro Processing | Create and control retro-processing runs. |
| Delete Speech Transcript Retro Processing Runs | Delete finished retro-processing run records. |
| Manage Speech Lookups | Maintain saved lookups. |
| Manage Sensitive Data Redaction Rules | Maintain redaction rules. |
| Manage speech transcript processing queue | Monitor the processing queue and retry abandoned work. |
| View the Speech Insights ingestion sources report | Run and export the Ingestion sources report. Added when the Reports feature is on. The Administrator role has it by default. |
| Manage Speech Insights Settings | Edit Settings -> Speech Insights. Added by the Speech Insights Export feature. |
| Export speech transcript | Generate exports, and download the background exports that you started. Added by the Speech Insights Export feature. |
| Download speech transcript exports of other users | Download every background export, also the exports of other users and exports without a recorded owner. Added by the Speech Insights Export feature. The Administrator role has it by default. |
| Access indexed data using API | Read indexed call data through the OData endpoint. |
| Download redacted speech audio file | Play the redacted recording on the call page. |
Tune sensitive-data redaction
If the AI deployment is slow, throttled, or unreachable, redaction requests time out, and the call is retried and can be abandoned in the Processing Queue with an error such as (sensitive-data-redaction) The AI endpoint did not respond within the configured timeout ....
A system administrator can tune redaction in the CloudSolutions_SpeechInsights_Redaction configuration section (for example in appsettings.json or the tenant configuration):
{
"CloudSolutions_SpeechInsights_Redaction": {
"RequestTimeout": "00:01:00",
"ProcessingTimeBudget": "00:02:00",
"MaxPhrasesPerRequest": 50,
"MaxConcurrentTranscripts": 4,
"ConcurrencyWaitTimeout": "00:30:00",
"RedactionToken": "*****",
"WordSensitivityThreshold": 0.85,
"ReasoningEffort": "Low"
}
}
| Setting | Default | Purpose |
|---|---|---|
RequestTimeout | 00:01:00 (60s) | Maximum time for one redaction or embedding request. Increase it if a healthy deployment needs longer to respond. |
ProcessingTimeBudget | 00:02:00 (120s) | Total time for one group of phrases, including retries. After that, no more retries are scheduled for that group. |
MaxPhrasesPerRequest | 50 | Number of phrases sent per AI request. Smaller groups give shorter requests that are less likely to time out. |
MaxConcurrentTranscripts | 4 | How many calls of the tenant redact at the same time on one application instance. When Azure Speech completes many calls together, the other calls wait for a free slot, so the deployment does not get more requests than its quota allows (HTTP 429). The waiting time does not count in ProcessingTimeBudget. Increase it when the deployment quota is higher. 0 removes the limit. |
ConcurrencyWaitTimeout | 00:30:00 (30 min) | How long a call waits for a free slot. After that, the call is processed again later from the Processing Queue. |
RedactionToken | ***** | The text that replaces redacted content. |
WordSensitivityThreshold | 0.85 | Threshold (0 to 1) used when mapping redactions back to individual words. |
ReasoningEffort | Low | Reasoning effort sent with the redaction request. See Reduce latency on reasoning-capable models. |
How the model answers are checked:
- Each answer is matched to its phrase by phrase ID.
- An answer is used only when it is the phrase's own text with some words replaced by the redaction token. An answer that adds, removes or changes words is not used. If the model gives different answers for one phrase, none of them is used.
- The stored text is built from the phrase's own words. The text of the model answer is never stored.
- The phrases without a valid answer are sent again, together with up to 2 phrases on each side as context. A value is often in a different phrase from its label.
- After 5 attempts, the phrases that still have no valid answer get local, rule-based redaction. When a rejected answer has a redaction token, the model found sensitive text in the phrase, so every word that this answer did not keep is redacted too. This can redact more than needed, but it does not leave a name or a value from a tenant rule visible.
- The model sees text in which profanity is replaced, but the stored text keeps the original words.
- Blank phrases are not sent to the model.
- If the answer for a group of phrases cannot be read (it is not JSON, or it has the wrong shape), each phrase of the group is sent alone. If the answer for one phrase cannot be read, that phrase gets local redaction.
- The logs never include the text of the model answer, because that text contains the transcript. A log entry gives the length of the answer, the expected type and the position of the JSON error.
If the log shows that the redaction response is incomplete because the model reached its output token limit, the model stopped before it answered all the phrases of the group. The missing phrases are then sent again in two halves. A half that is cut off too is split again, until a phrase is sent alone. If the answer for one phrase is cut off, that phrase gets local redaction. Each split makes more requests. If this occurs frequently, set MaxPhrasesPerRequest to a lower value (for example 25), or use a deployment with a higher output token limit.
If redaction keeps timing out while other AI features work, first check the health and quota of the tenant's default utility or chat deployment. Continued timeouts usually mean an overloaded, throttled, or misconfigured deployment, not a data problem.
Tune real-time tagging and rule evaluations
The CloudSolutions_SpeechInsights_Evaluation section controls tags and indicators on new calls and the Evaluate against existing transcripts runs:
{
"CloudSolutions_SpeechInsights_Evaluation": {
"ReasoningEffort": "Low",
"IndicatorConcurrency": 4,
"PlaybookConcurrency": 2,
"MaxSemanticTagsPerCall": 20,
"MaxSemanticTagCharsPerCall": 8000,
"SemanticTagConcurrency": 4,
"KeywordTagHardLimit": 5000,
"SemanticTagHardLimit": 250,
"IndicatorHardLimit": 5000
}
}
| Setting | Default | Purpose |
|---|---|---|
ReasoningEffort | Low | Reasoning effort for semantic tag and indicator requests. |
IndicatorConcurrency | 4 | Number of indicator requests sent at the same time for one call. |
PlaybookConcurrency | 2 | Number of playbook requests sent at the same time for one call. Each playbook is one request. |
MaxSemanticTagsPerCall | 20 | Maximum number of Semantics tags in one AI request. 0 removes the limit. |
MaxSemanticTagCharsPerCall | 8000 | Maximum combined length of tag names and descriptions in one AI request. 0 removes the limit. |
SemanticTagConcurrency | 4 | Number of semantic tag requests sent at the same time for one call. |
KeywordTagHardLimit | 5000 | Maximum sample size when evaluating a keyword tag. |
SemanticTagHardLimit | 250 | Maximum sample size when evaluating a semantics or expression tag. |
IndicatorHardLimit | 5000 | Maximum sample size when evaluating an indicator. |
Retro processing has its own settings. See Speech Insights Retro Processing.
Tune the call measures
The CloudSolutions_SpeechInsights_CallMeasures section sets the long silence threshold of the call measures:
{
"CloudSolutions_SpeechInsights_CallMeasures": {
"LongSilenceSeconds": 5
}
}
| Setting | Default | Purpose |
|---|---|---|
LongSilenceSeconds | 5 | A silence between phrases that is this long or longer counts as a long silence. A change applies to a call when the call is indexed again, so rebuild the index to apply it to all calls. |
Tune calls that are split into several files
The CloudSolutions_Speech_RecordingParts section sets how WinnerWare handles calls that are split into several audio files. The default values fit most sites.
{
"CloudSolutions_Speech_RecordingParts": {
"LatePartWindow": "1.00:00:00",
"PartCountWaitLimit": "1.00:00:00"
}
}
| Setting | Default | Purpose |
|---|---|---|
LatePartWindow | 1.00:00:00 (24 hours) | How long WinnerWare keeps the audio and the transcription of each file at Azure Speech after a transcript is processed, so that a file that comes later can be added. The longest value is 5 days. 00:00:00 removes them at once, and a file that comes later is then moved to the failed folder. |
PartCountWaitLimit | 1.00:00:00 (24 hours) | How long a transcript with a PartCount waits for its missing files, from the time of its newest file. After this time, it is processed with the files it has. |
Add new index fields to an existing index
New versions can add fields to the Speech Insights index, for example the call measures. An existing index does not need to be rebuilt before you use the new version:
- Before WinnerWare writes calls to an index, it adds the mappings of the new fields to the live index. Elasticsearch accepts new fields on an existing index, so the existing fields and calls do not change.
- WinnerWare writes the new fields only when the mappings were added. If Elasticsearch refuses them (for example because a field with the same name has another type), the calls are indexed without the new fields, as before, and the log shows a warning that tells you to rebuild the index. WinnerWare tries again after 5 minutes.
- To add the new fields to the calls that were indexed before, rebuild the index (Search -> Indexes -> Rebuild). A rebuild creates the index again with all the field mappings and indexes all the calls. It reads and sends 10 calls at a time, because each call holds all its phrases, words and embeddings. Thus a rebuild of a large index does not use all the memory of the server.
The new nested collections (Playbooks, PlaybookChecks, CallPhases and IndicatorValues) are not in the OData feed. The OData $metadata lists the new number fields after the index is rebuilt. Existing OData, CSV export, and Tableau pipelines do not change: exports and pipelines use only the fields that you selected for them.
Keep the embeddings out of the stored source
The index keeps the transcript embedding (TranscriptEmbedding) and the phrase embeddings (Phrases.TextEmbedding) for the semantic search, but not in the stored source of the calls (_source.excludes). The embeddings make most of a stored call. Elasticsearch loads the full stored source of each call that it returns, also when a report, an export or a data pipeline reads only some fields. Thus, without the embeddings, a report that reads 1,000 calls runs much faster. No feature reads the embeddings from the source, and a rebuild gets them again from the calls.
An index created before this change still stores the embeddings, because Elasticsearch cannot change the stored source of an existing index. To apply the change:
- Open the index in Search -> Indexes, then select Save. This writes the new source setting to the index settings. A rebuild alone uses the settings that are already saved.
- Rebuild the index (Search -> Indexes -> Rebuild). The search does not find all the calls until the rebuild is complete.
Reduce latency on reasoning-capable models
Redaction, semantic tags, and indicators all send the call to the default utility or chat deployment. When that deployment is a reasoning model (for example the GPT-5 family, including GPT-5 nano), most of the response time goes into reasoning before the answer. These tasks are classification and extraction, not deep reasoning, so a lower reasoning effort usually makes them much faster with little or no loss in quality.
Each processing path has its own ReasoningEffort setting:
| Section | Applies to |
|---|---|
CloudSolutions_SpeechInsights_Redaction | Sensitive-data redaction requests. |
CloudSolutions_SpeechInsights_Evaluation | Semantic tags and indicators on new calls, and rule evaluations. |
CloudSolutions_SpeechInsights_RetroProcessing | Every retro-processing request. |
Valid values are None, Low, Medium, High, and ExtraHigh. Each section defaults to Low. Leave the value empty ("") when the deployment uses a non-reasoning model (for example GPT-4o), because those models reject requests that include a reasoning effort.
Semantics tags are split into batches, so a call with many tags is classified in several smaller requests instead of one oversized request. A new batch starts when MaxSemanticTagsPerCall or MaxSemanticTagCharsPerCall is reached. Each request still carries the whole conversation, because semantic tagging needs the full context. Indicators always use one request per indicator. If a model returns indicator values in an unexpected shape (for example objects instead of plain text), WinnerWare converts them to key: value text instead of dropping the result.
Usage
Example rollout
- Enable Speech Insights, Speech Service (Azure), the source features you need, and Speech Insights Export if you want exports and the settings page.
- Set the default utility or chat deployment and the embedding deployment in Settings -> Artificial Intelligence.
- Create a Speech Insights index in Search -> Indexes.
- Review the Default PII Redaction rule and add redaction rules if you need them.
- Create an ingestion source, fill in the Metadata File Map (at least
AudioFileNameandCallDate), and use Test connection and Get statistics to check it. - Turn on Active? for the source, then click Ingest recordings or wait for the hourly run.
- Watch the Processing Queue until calls are Completed, then open the search page to review them.
- Add tags and indicators, test them with Evaluate against existing transcripts, and activate them.
- Use Retro Processing to apply the new rules to older calls.
- Add saved lookups and exports when the review pattern is stable.
What to do when something fails
| Symptom | Where you see it | What to do |
|---|---|---|
| A source shows Last error, or ingests nothing | Ingestion Sources | Use Test connection to check the host, credentials, and path. Fix the source, then click Ingest recordings. To learn about the next failure at once, send an email from a workflow. |
| A source shows failed recordings but no error | Hover over Processed | Those recordings stay at the source and are retried on the next run. Check the logs if the number does not go down. Unreadable recordings are in the failed folder at the source. |
| Get statistics shows files Waiting to settle | Source row | The files changed in the last 2 minutes. They are ingested on a later run. |
| Recordings stay at the source | Get statistics | Check that a metadata file lists them in the AudioFileName column and that the source is active. |
| Ingest recordings shows "An ingestion run already works on this source" | Ingestion Sources | A run holds the source. Wait until Processed shows a new time, then try again. A run that stopped without an end, for example because the application restarted, holds the source for 2 hours at most. |
| Calls are Abandoned | Processing Queue | Open Error details. Timeouts and throttling usually mean the AI deployment is overloaded or has no quota. Fix the cause, then use Retry all abandoned. |
| A tag or indicator is missing on older calls | Call page | Rules apply only to new calls. Use Retro Processing. |
| An indicator is empty on one call | Call page | The AI provider may have refused the call's text because of its content policy. The logs show a warning for that indicator. |
| No audio player on the call page | Call page | The user needs the Download redacted speech audio file permission. |
Operational Notes
- Ingestion runs every hour. Retro-processing recovery runs every 5 minutes. Export clean-up runs weekly.
- The ingestion and retro-processing background tasks only start their runs, and the runs continue in their own jobs. Orchard Core starts no new background task on any tenant until the running background tasks end, so a background task that waited for a long run would stop all the other background tasks. On Background Tasks, the last run of these tasks therefore takes less than a second. The result of each ingestion run shows on its ingestion source.
- A recording with a CallId that was already ingested for the same source is removed from the source and not ingested again.
- Tags, tag groups, indicators, indicator groups, playbooks, and redaction rules can be moved between environments with deployment plans (Speech Transcript Tags, Speech Transcript Tag Groups, Speech Indicators, Speech Indicator Groups, Call Playbooks, Sensitive Data Redaction Rules) and matching recipe steps (
SpeechPlaybookfor playbooks). On import, items are matched by ID and then by name, so re-importing updates the existing item. - The OData endpoint is available under
speech/insights/odata/{indexName}. The Elasticsearch query in$filter=dsl=...ordsl=...must follow the query rules. - After a recording is accepted, it is removed from the source. After processing, the shared copy used for Azure transcription is deleted. Reviewers hear only the redacted audio.