Set up a chat agent
1
Clone or create an assistant
Open the Ringg AI dashboard, go to assistants, and clone an existing voice assistant or create a new Webcall assistant for chat.
2
Tune the prompt for text
Update the assistant prompt for chat-style responses. Include when to answer directly, when to collect details, and when to present a component.
3
Configure chat-specific tools
Build the Components the chat needs, such as a slot picker for callbacks or a form for data collection, and add any API integrations it should use.
4
Use the chat assistant ID
Use the cloned assistant’s
agentId in the embed code and set defaultTab to "text".Chat modes
- Chat first
- Chat only
- Voice and chat
How chat mode works
Text input and output
Users send typed messages. Audio input and output are disabled in text mode.
Context compression
Long chat conversations are compressed automatically so the conversation can continue within model context limits.
RAG summarization
Knowledge base query results are summarized in chat mode to reduce token usage and keep answers concise.
Same configured tools
API integrations, knowledge base queries, components, and other configured tools work in chat mode.
Interactive components
Cards, forms and pickers the assistant shows mid-conversation are built as Components. See Components for how to create them, mention them in a prompt, and wire them to your APIs. They work best in text mode, though they can also be triggered during voice calls.Calendar widget (legacy)
Use the calendar widget for callback scheduling, demo booking, consultations, or follow-up appointments. Past slots are excluded so users see valid options.api_config is provided, the booking data is forwarded to your API.
Form widget (legacy)
Use the form widget for contact details, lead qualification, support tickets, addresses, surveys, or other structured data collection.Form field definition
api_config is provided, the data is also forwarded to your API endpoint.
Complete chat-only embed
Use the CDN loader from the quickstart, then load the chat assistant with chat-only mode and optional branding.Prompt examples
- Callback scheduling
- Form collection
- Calendar and form
Prompt tips
Be explicit about when to use each component, and mention it by its
@[[name]] at that point in the prompt.Do not duplicate a component’s fields in the conversation, and let it collect them.
Ask the assistant to confirm bookings and form submissions after the component returns data.
Keep chat responses shorter and more structured than voice responses.