SpeechTilesAndamento Docs
Get started
Guide

Core Concepts

SpeechTiles Andamento combines a declarative conversation runtime with independently usable audio and speech APIs. These concepts help you evaluate the architecture and understand where application code meets configuration.

Conversation

A Conversation is a declarative configuration describing modules, transitions, and execution flow. It is loaded into STConversationRunner and executed with runConversation. Consult the Conversation Configuration Reference for module definitions, transitions, and supported fields.

Prompt Module

A reusable definition of spoken or recorded content referenced by a Conversation. Prompt Modules can select synthesized text or recorded audio and specify playback behavior. See the Prompt Module Configuration Reference and loadAudioPromptModules (URL).

STConversationRunner

STConversationRunner is the higher-level Swift API for loading and running Conversations, managing application-supplied values and intents, and receiving execution callbacks through STConversationCallback. It coordinates underlying media functionality; you generally do not need to manage each media operation independently.

STMediaRunner

STMediaRunner exposes direct audio playback, recording, speech synthesis, speech recognition, and audio-environment controls. It can be integrated without a Conversation and is also the media foundation used by the conversation runtime.

Runtime field

A named value made available to the running Conversation. Set it with setRuntimeField, inspect it with runtimeField, and reference it in configuration as $[FieldName]. Values needed by the next module should be set before the relevant callback returns.

User intent

An application-supplied routing decision, distinct from the speech-recognition hypothesis itself. A recognition callback such as conversationReceivedSpeechRecognition can interpret a hypothesis and call setUserIntent synchronously before returning to influence the current conversation flow.

Resources and language folders

File-based loading can use category-specific resource locations via setResourceLocation and a language folder via setLanguageFolder. The default language folder is en-US; applicable resource lookup checks that language subdirectory first and then its parent directory. In-memory JSON loading does not require a filesystem resource location.

Results and events

Interpret results according to the operation: a synchronous load result describes the completed load, while a successful asynchronous request may only mean the request was accepted. Use the documented callbacks or media events to observe subsequent execution and completion. See STConversationCallback and STResult.

Configuration Reference

JSON files describe Conversation Configuration Reference, Prompt Module Configuration Reference, and Audio Resource to Text Mapping. API reference pages explain how to load and run them; configuration reference pages explain the supported schema and behavior.