Applications
An application delivers your agent outside the Breign interface: a chatbot on a website, a chat in your own product, a 3D avatar on a kiosk. Each application runs on one or more instances: the endpoints a device or a website connects to.
Before you start​
- You need an agent and the Update agents permission.
Create an application​
- Open the agent and go to its Applications tab.
- Click Create application.
- Enter an Application name and choose an Application type:
- Simple: a plain chat delivery of the agent;
- ChatBot: a chatbot-style interface;
- Avatar: a 3D conversational avatar, with voice and lip-sync. See Avatars.
- Optionally add a description and an Application image.
- Click Create.
The application page shows its ID and AuthSecret with copy buttons: your developers use them to connect the application. See the developer documentation.
Add an instance​
- Open the application and go to its Instances tab.
- Create an instance and give it a name. Each instance has its own ID and status.
- Click Context on an instance to set context variables shared by every conversation on it, for example
STORE_for a kiosk.NAME
Configure the application​
- Configure:
- General settings;
- Ephemeral instances: allow temporary instances (for example one per website visitor) and cap how many are active at once;
- Voice Settings: provider, model and voice, with Test voice;
- Lip Sync, for avatars;
- Fillers: short sounds while the agent thinks (needs streaming);
- Speech-to-text (microphone input): takes priority over the agent's own setting.
- Application Configuration: languages, colors, images and extra settings read by your interface. Preview JSON and Copy give the whole configuration as JSON.
- Customization (avatars only): the avatar's look and scene.
Use and control it​
- Chat: pick an instance, click Connect, and talk through the application. New conversation starts over; New experience starts the agent's default flow.
- Control: drive a running instance live: Interrupt it, Speak through the agent, play Animations, Sequences and Custom Commands.
- History: conversations that happened through this application.
If something goes wrong​
- No instance to connect to: add one in the Instances tab.
- "This instance is already in use by another application. Use it anyway?": another session drives it. Choose another instance, or confirm only if you're sure it's free.
- "Please configure a voice in the settings tab first.": set and save a voice in Configure.
- "Create a conversation flow on the agent to start an experience.": New experience needs a flow.
- "Streaming must be enabled to use fillers.": turn on streaming in Configure.
- You expected a copy-paste website snippet: Breign doesn't generate one. Your developers embed the application with its ID and AuthSecret.