Skip to content

Commit 5a1d9ce

Browse files
committed
typos
1 parent 3b5e2df commit 5a1d9ce

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/pages/docs/guides/chat/build-task-oriented.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ For large-scale chat scenarios with many users per room, see our [building lives
4242

4343
* **Automatically scaled** - Ably handles any number of concurrent rooms without provisioning.
4444
* **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.
4646

4747
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.
4848

@@ -219,7 +219,7 @@ const subscription = room.messages.subscribe((messageEvent) => {
219219
// This ensures you get a complete picture without missing messages
220220
let historyResponse = await subscription.historyBeforeSubscription({limit: 50});
221221

222-
// Itarate through all pages
222+
// Iterate through all pages
223223
while (true) {
224224
console.log('Messages: ', historyResponse.items);
225225
if (historyResponse.hasNext()) {
@@ -232,7 +232,7 @@ while (true) {
232232
</Code>
233233

234234
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.
236236
See the [React UI Kit](/docs/chat/react-ui-kit) for more details.
237237

238238
## Enriching tasks with Ably's realtime services
@@ -263,7 +263,6 @@ Best for most task-oriented scenarios, where immediacy often matters. It can be
263263
* What level of moderation is appropriate for your audience?
264264
* How will you handle different types of content? For example:
265265
* **Hate speech and harassment:** Detecting discriminatory language, threats, or targeted abuse.
266-
* **Discrimination:** Detecting discriminatory language, threats, or targeted abuse.
267266
* **Inappropriate content:** Flagging adult content, violence, or graphic material.
268267
* **Toxicity:** Measuring overall message sentiment and hostility.
269268

@@ -329,7 +328,7 @@ for your agent to increase their effectiveness in handling support queries.
329328

330329
## Room reactions
331330

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.
333332

334333
<Code>
335334
```javascript

0 commit comments

Comments
 (0)