Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
7d4a8c1
qna build work version
feich-ms Mar 11, 2020
de253b4
Merge branch 'master' into feich/qnabuild
feich-ms Mar 11, 2020
1182830
Merge branch 'master' into feich/qnabuild
feich-ms Mar 12, 2020
0583690
Merge branch 'master' into feich/qnabuild
feich-ms Mar 12, 2020
6d2418f
Merge branch 'master' into feich/qnabuild
feich-ms Mar 13, 2020
650b63b
support extracting name from kb.name in qna file
feich-ms Mar 13, 2020
4da1aeb
fix comparison bug
feich-ms Mar 16, 2020
ae6dbd3
Merge branch 'master' into feich/qnabuild
feich-ms Mar 16, 2020
8b0448a
Merge branch 'master' into feich/qnabuild
feich-ms Mar 23, 2020
bb266f3
support alterations
feich-ms Mar 23, 2020
2a85516
adding tests
feich-ms Mar 23, 2020
40b38db
Merge branch 'feich/qnabuild' of https://github.com/microsoft/botfram…
feich-ms Mar 23, 2020
b5d385a
Merge branch 'master' into feich/qnabuild
feich-ms Mar 24, 2020
ea1877d
fix tests
feich-ms Mar 25, 2020
204b005
fix type error
feich-ms Mar 25, 2020
2e18a3e
fix type error
feich-ms Mar 25, 2020
670408a
fix tslijt
feich-ms Mar 25, 2020
c37db73
add comamnd doc in README
feich-ms Mar 25, 2020
9dc786f
fix test cases
feich-ms Mar 25, 2020
60fba3f
fix a comparison bug
feich-ms Mar 26, 2020
fd67a6e
optimize error handling
feich-ms Mar 26, 2020
7061a2f
optimize error source msg when errors come from reference file
feich-ms Mar 26, 2020
d627d66
Merge branch 'master' into feich/qnabuild
feich-ms Mar 26, 2020
7eab347
fix write dialogs
feich-ms Mar 30, 2020
abf1563
change dialog format
feich-ms Mar 30, 2020
2588954
change dialog format
feich-ms Mar 30, 2020
0b6ae36
Merge branch 'master' into feich/qnabuild
feich-ms Apr 1, 2020
550ed91
adjust dialog asset format
feich-ms Apr 1, 2020
37fdba1
support multiturn and add corresponding tests
feich-ms Apr 7, 2020
d4bbcfa
Merge branch 'master' into feich/qnabuild
feich-ms Apr 7, 2020
d2cd162
fix tslint
feich-ms Apr 7, 2020
49a6f87
fix test case typo
feich-ms Apr 7, 2020
e48982f
fix dialog format
feich-ms Apr 11, 2020
9fc40d0
fix hostname
feich-ms Apr 20, 2020
2524070
Merge branch 'master' into feich/qnabuild
feich-ms Apr 22, 2020
8e9f90e
revert url and file references importing
feich-ms Apr 22, 2020
edcbbf1
add url and file reference handling function and tests
feich-ms Apr 22, 2020
821ce12
fix test cases
feich-ms Apr 22, 2020
633dac9
move serviceBase to qnabuild folder
feich-ms Apr 22, 2020
ba73203
Updates.
Apr 23, 2020
e5d6467
merge contents with same locale and and optimize the write dialog logic
feich-ms Apr 24, 2020
d8b3c1f
update docs based on latest changes
feich-ms Apr 24, 2020
985744a
Merge branch 'master' into feich/qnabuild
vishwacsena Apr 24, 2020
d1f10b4
Merge branch 'master' into feich/qnabuild
vishwacsena Apr 24, 2020
3a48dc1
Merge branch 'master' into feich/qnabuild
vishwacsena Apr 24, 2020
e72901d
Merge branch 'master' into feich/qnabuild
vishwacsena Apr 24, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/lu/src/parser/lu/qna.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ class Qna {
this.id = options.id ? options.id : ''
this.includeInCollate = options.includeInCollate !== undefined ? options.includeInCollate : true
this.language = options.language ? options.language : ''
this.path = options.path ? options.path : ''

if (this.language !== '') {
this.name = this.id + '.' + this.language + '.qna'
} else {
this.name = this.id + '.qna'
}
}

async translate(translate_key, tgt_lang, translate_comments = false, translate_link_text = false){
Expand Down
3 changes: 2 additions & 1 deletion packages/lu/src/parser/lu/qnaOptions.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
class QnAOptions {
constructor(id = '', includeInCollate = true, language = ''){
constructor(id = '', includeInCollate = true, language = '', path = ''){
this.id = id ? id : get_guid()
this.includeInCollate = includeInCollate
this.language = language
this.path = path
}
}

Expand Down
1 change: 1 addition & 0 deletions packages/lu/src/parser/qna/qnamaker/kb.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class KB {
this.urls = [];
this.qnaList = [];
this.files = [];
this.name = '';
}
}

Expand Down
Loading