Skip to content

Commit fca25ec

Browse files
authored
Merge pull request #7830 from Cecil0o0/correct-json
correct json code snippet of Implement participant detection.
2 parents 4a38a51 + c2dd9cd commit fca25ec

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

api/extension-guides/chat.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -288,22 +288,24 @@ The following code snippet shows how to implement participant detection at the p
288288
```json
289289
"contributes": {
290290
"chatParticipants": [
291-
"id": "chat-sample.cat",
292-
"fullName": "Cat",
293-
"name": "cat",
294-
"description": "Meow! What can I teach you?",
291+
{
292+
"id": "chat-sample.cat",
293+
"fullName": "Cat",
294+
"name": "cat",
295+
"description": "Meow! What can I teach you?",
295296

296-
"disambiguation": [
297-
{
298-
"category": "cat",
299-
"description": "The user wants to learn a specific computer science topic in an informal way.",
300-
"examples": [
301-
"Teach me C++ pointers using metaphors",
302-
"Explain to me what is a linked list in a simple way",
303-
"Can you explain to me what is a function in programming?"
304-
]
305-
}
306-
]
297+
"disambiguation": [
298+
{
299+
"category": "cat",
300+
"description": "The user wants to learn a specific computer science topic in an informal way.",
301+
"examples": [
302+
"Teach me C++ pointers using metaphors",
303+
"Explain to me what is a linked list in a simple way",
304+
"Can you explain to me what is a function in programming?"
305+
]
306+
}
307+
]
308+
}
307309
]
308310
}
309311
```

0 commit comments

Comments
 (0)