Skip to content

Commit 8d36ea4

Browse files
authored
Merge pull request #76376 from diberry/0510-qna-chitchat
[Cogsvcs] QnA Maker - chit chat personalities
2 parents d723880 + 8cd8136 commit 8d36ea4

File tree

2 files changed

+23
-19
lines changed

2 files changed

+23
-19
lines changed

articles/cognitive-services/QnAMaker/Concepts/best-practices.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: qna-maker
1010
ms.topic: article
11-
ms.date: 03/28/2019
11+
ms.date: 05/10/2019
1212
ms.author: tulasim
1313
ms.custom: seodec18
1414
---
@@ -34,18 +34,20 @@ Add as many alternate questions as you need but keep the alterations simple. Add
3434
The best answers are simple answers but not too simple such as yes and no answers. If your answer should link to other sources or provide a rich experience with media and links, use [tagging](../how-to/metadata-generateanswer-usage.md) to distinguish which type of answer you expect, then submit that tag with the query to get the correct answer version.
3535

3636
## Chit-Chat
37-
Add chit-chat to your bot, to make your bot more conversational and engaging, with low effort. You can easily add chit-chat data sets for 3 pre-defined personalities when creating your KB, and change them at any time. Learn how to [add chit-chat to your KB](../How-To/chit-chat-knowledge-base.md).
37+
Add chit-chat to your bot, to make your bot more conversational and engaging, with low effort. You can easily add chit-chat data sets from pre-defined personalities when creating your KB, and change them at any time. Learn how to [add chit-chat to your KB](../How-To/chit-chat-knowledge-base.md).
3838

3939
### Choosing a personality
40-
Chit-chat is supported for 3 predefined personalities:
40+
Chit-chat is supported for several predefined personalities:
4141

42-
|Personalities|
43-
|--|
44-
|The Professional|
45-
|The Friend|
46-
|The Comic|
42+
|Personality |QnA Maker Dataset file |
43+
|---------|-----|
44+
|Professional |[qna_chitchat_professional.tsv](https://qnamakerstore.blob.core.windows.net/qnamakerdata/editorial/qna_chitchat_professional.tsv) |
45+
|Friendly |[qna_chitchat_friendly.tsv](https://qnamakerstore.blob.core.windows.net/qnamakerdata/editorial/qna_chitchat_friendly.tsv) |
46+
|Witty |[qna_chitchat_witty.tsv](https://qnamakerstore.blob.core.windows.net/qnamakerdata/editorial/qna_chitchat_witty.tsv) |
47+
|Caring |[qna_chitchat_caring.tsv](https://qnamakerstore.blob.core.windows.net/qnamakerdata/editorial/qna_chitchat_caring.tsv) |
48+
|Enthusiastic |[qna_chitchat_enthusiastic.tsv](https://qnamakerstore.blob.core.windows.net/qnamakerdata/editorial/qna_chitchat_enthusiastic.tsv) |
4749

48-
The responses range from formal to informal and irreverent. You should select the personality that is closest aligned with the tone you want for your bot. You can view the datasets, and choose one that serves as a base for your bot, and then customize the responses.
50+
The responses range from formal to informal and irreverent. You should select the personality that is closest aligned with the tone you want for your bot. You can view the [datasets](https://github.com/Microsoft/BotBuilder-PersonalityChat/tree/master/CSharp/Datasets), and choose one that serves as a base for your bot, and then customize the responses.
4951

5052
### Edit bot-specific questions
5153
There are some bot-specific questions that are part of the chit-chat data set, and have been filled in with generic answers. Change these answers to best reflect your bot details.

articles/cognitive-services/QnAMaker/How-To/chit-chat-knowledge-base.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: qna-maker
1010
ms.topic: article
11-
ms.date: 05/07/2019
11+
ms.date: 05/10/2019
1212
ms.author: tulasim
1313
ms.custom: seodec18
1414
---
@@ -19,17 +19,19 @@ Adding chit-chat to your bot makes it more conversational and engaging. The chit
1919

2020
This dataset has about 100 scenarios of chit-chat in the voice of multiple personas, like Professional,Friendly and Witty. Choose the persona that most closely resembles your bot's voice. Given a user query, QnA Maker tries to match it with the closest known chit-chat QnA.
2121

22-
Some examples of the different personalities are below. You can see all the personality datasets along with details of the personalities [here](https://github.com/Microsoft/BotBuilder-PersonalityChat/tree/master/CSharp/Datasets).
23-
24-
<!-- added quotes so acrolinx doesn't score these sentences -->
25-
|User query|Professional|Friendly|Witty|
26-
|--|--|--|--|
27-
|`You are awesome`|`I aim to serve.`|`Aw, I'm blushing.`|`Flattery. I like it.`|
28-
|`Are you hungry?`|`I don't need to eat.`|`I only do food for thought.`|`Eating would require a lot of things I don't have. Like a digestive system. And silverware.`|
29-
|`Sing a song`|`I'm afraid I'm not musically inclined.`|`La la la, tra la la. I'm awesome at this.`|`Those who can, do. Those who can't, don't sing.`|
30-
|`Will you marry me?`|`I think it's best if we stick to a professional relationship.`|`Definitely didn't see that coming!`|`Sure. Take me to city hall. See what happens.`|
22+
Some examples of the different personalities are below. You can see all the personality [datasets](https://github.com/Microsoft/BotBuilder-PersonalityChat/tree/master/CSharp/Datasets) along with details of the personalities.
3123

24+
For the user query of `When is your birthday?`, each personality has a styled response:
3225

26+
<!-- added quotes so acrolinx doesn't score these sentences -->
27+
|Personality|Example|
28+
|--|--|
29+
|Professional|Age doesn't really apply to me.|
30+
|Friendly|I don't really have an age.|
31+
|Witty|I'm age-free.|
32+
|Caring|I don't have an age.|
33+
|Enthusiastic|I'm a bot, so I don't have an age.|
34+
||
3335

3436
> [!NOTE]
3537
> Chit-chat support is currently available in English only.

0 commit comments

Comments
 (0)