This repository has been archived by the owner on Jun 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 262
/
qna6.lu
54 lines (42 loc) · 1.53 KB
/
qna6.lu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
> # QnA Definitions
> This is a QnA definition. Follows # ? Question: \<list of questions\> \```markdown \<Answer> ``` format
> You can add URLs for QnA maker to ingest using the #URL reference scheme
### ? How do I change the default message
```markdown
You can change the default message if you use the QnAMakerDialog.
See [this link](https://docs.botframework.com/en-us/azure-bot-service/templates/qnamaker/#navtitle) for details.
```
### ? How do I programmatically update my KB?
```markdown
You can use our REST apis to manage your KB.
\#1. See here for details: https://westus.dev.cognitive.microsoft.com/docs/services/58994a073d9e04097c7ba6fe/operations/58994a073d9e041ad42d9baa
```
> You can add URLs for QnA maker to ingest using the #URL reference scheme
[QnA URL - faqs](https://docs.microsoft.com/en-in/azure/cognitive-services/qnamaker/faqs)
> You can define multilple questions for single answer as well
### ? Who is your ceo?
- get me your ceo info
```markdown
Vishwac
```
> You can define filters for QnA using the \**Filters:** \<list of name=value pairs\> format
### ? Where can I get coffee?
- I need coffee
**Filters:**
- location = seattle
```markdown
You can get coffee in our Seattle store at 1 pike place, Seattle, WA
```
### ? Where can I get coffee?
- I need coffee
**Filters:**
- location = portland
```markdown
You can get coffee in our Portland store at 52 marine drive, Portland, OR
```
> You can include LUIS intent and entity definitions in the same .lu file
# Greeting
- Hi
- Hello
- Good morning
- Good evening