The Ringg widget supports text-based chat alongside voice calls. In chat mode, users type messages while the same assistant can still use configured tools, knowledge base queries, callback scheduling, and form widgets.Documentation Index
Fetch the complete documentation index at: https://docs.ringg.ai/llms.txt
Use this file to discover all available pages before exploring further.
Set up a chat agent
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.
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 widgets.
Configure chat-specific tools
Add calendar widgets for callback scheduling, form widgets for data collection, or any API integrations the chat should use.
Chat modes
- Chat first
- Chat only
- Voice and chat
| Option | Type | Default | Description |
|---|---|---|---|
defaultTab | "audio" | "text" | "audio" | Tab shown when the widget loads. Use "text" for chat mode. Supported from v1.0.8+. |
hideTabSelector | boolean | false | Hides the audio/text tab switcher for a single-mode experience. Supported from v1.0.8+. |
bypassStartScreen | boolean | false | Skips the start screen and begins a call or chat immediately on trigger click. Uses defaultTab. |
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, widgets, and other configured tools work in chat mode.
Chat widgets
Chat widgets are interactive UI components the assistant can present during a conversation. They render inside the chat interface so users can schedule callbacks, submit forms, or book appointments without leaving the widget.Chat widgets work best in text mode. They can also be triggered during voice calls, but visual interaction is most natural in the chat interface.
- The assistant decides a widget is needed and calls the
send_widgetstool. - The widget renders inside the chat.
- The user selects a time slot or submits form data.
- The response is sent back to the assistant automatically.
- The assistant confirms the action and can trigger an API call if
api_configis provided.
Calendar widget
Use the calendar widget for callback scheduling, demo booking, consultations, or follow-up appointments. Past slots are excluded so users see valid options.| Field | Type | Required | Description |
|---|---|---|---|
tool_type | string | Yes | Must be "calender_widget_tool". |
tool_id | string | Yes | Unique identifier for this widget instance. |
slot_duration_days | integer | Yes | Number of days to show slots for, such as 7. |
slot_interval_minutes | integer | Yes | Minutes between each slot, such as 30. |
start_time_24_hour_format | string | Yes | Slot start time in HH:MM format, such as "09:00". |
end_time_24_hour_format | string | Yes | Slot end time in HH:MM format, such as "17:00". |
timezone | string | Yes | IANA timezone, such as "Asia/Kolkata". |
api_config | object | No | Optional API call made when the user selects a slot. |
api_config is provided, the booking data is forwarded to your API.
Form widget
Use the form widget for contact details, lead qualification, support tickets, addresses, surveys, or other structured data collection.| Field | Type | Required | Description |
|---|---|---|---|
tool_type | string | Yes | Must be "form_widget_tool". |
tool_id | string | Yes | Unique identifier for this widget instance. |
title | string | Yes | Title displayed at the top of the form. |
submit_button_label | string | Yes | Text on the submit button, such as "Submit". |
form_fields | array | Yes | Array of field definitions. |
api_config | object | No | Optional API call made when the form is submitted. |
Form field definition
| Field | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Unique field identifier. |
type | string | Yes | Field type, such as "text", "email", "select", or "number". |
description | string | Yes | Label or placeholder text for the field. |
required | boolean | Yes | Whether the field is mandatory. |
options | array | No | Options list for select fields. |
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 widget.
Do not duplicate widget fields in the conversation.
Ask the assistant to confirm bookings and form submissions after the widget returns data.
Keep chat responses shorter and more structured than voice responses.
