You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/docs/guides/chat/build-task-oriented.mdx
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ For large-scale chat scenarios with many users per room, see our [building lives
42
42
43
43
***Automatically scaled** - Ably handles any number of concurrent rooms without provisioning.
44
44
***History-enabled** - messages stored for 30 days by default (configurable up to a year on request).
45
-
***Kept under control** - [capabilites](/docs/chat/setup#authentication) let you control who can join and the level of access to features and actions.
45
+
***Kept under control** - [capabilities](/docs/chat/setup#authentication) let you control who can join and the level of access to features and actions.
46
46
47
47
Each room includes all task participants: customers and agents in support, buyers and sellers in marketplaces, players in games, team members in projects. Participants can join and leave as the task evolves. Access to message history and other features can be granted to all or select participants via capabilities.
// This ensures you get a complete picture without missing messages
220
220
let historyResponse =awaitsubscription.historyBeforeSubscription({limit:50});
221
221
222
-
//Itarate through all pages
222
+
//Iterate through all pages
223
223
while (true) {
224
224
console.log('Messages: ', historyResponse.items);
225
225
if (historyResponse.hasNext()) {
@@ -232,7 +232,7 @@ while (true) {
232
232
</Code>
233
233
234
234
You can use our [React UI Kit](/docs/chat/react-ui-kit) to easily create a [fully featured chat window](/docs/chat/getting-started/react-ui-kit#chat-window)
235
-
that handles subscrbing to messages, loading history, message updates and deletes, message reactions, and more.
235
+
that handles subscribing to messages, loading history, message updates and deletes, message reactions, and more.
236
236
See the [React UI Kit](/docs/chat/react-ui-kit) for more details.
237
237
238
238
## Enriching tasks with Ably's realtime services
@@ -263,7 +263,6 @@ Best for most task-oriented scenarios, where immediacy often matters. It can be
263
263
* What level of moderation is appropriate for your audience?
264
264
* How will you handle different types of content? For example:
265
265
***Hate speech and harassment:** Detecting discriminatory language, threats, or targeted abuse.
266
-
***Discrimination:** Detecting discriminatory language, threats, or targeted abuse.
267
266
***Inappropriate content:** Flagging adult content, violence, or graphic material.
268
267
***Toxicity:** Measuring overall message sentiment and hostility.
269
268
@@ -329,7 +328,7 @@ for your agent to increase their effectiveness in handling support queries.
329
328
330
329
## Room reactions
331
330
332
-
Room reactions are a great engagement feature for chats that accompany calls, meetings, collaborative tools, and games. They are a way to quickly express a sentiment to the entire room at a point in time without adding to chat history or being tired to a message.
331
+
Room reactions are a great engagement feature for chats that accompany calls, meetings, collaborative tools, and games. They are a way to quickly express a sentiment to the entire room at a point in time without adding to chat history or being tied to a message.
0 commit comments