|
|
@@ -32,7 +32,7 @@ import Treeselect from '@riophae/vue-treeselect'
|
|
|
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
|
|
|
import { constructTree } from '@/utils/construct-tree'
|
|
|
import debounce from '@/utils/debounce'
|
|
|
-import { recommendKnowledge } from '@/server/ml-recommend'
|
|
|
+// import { recommendKnowledge } from '@/server/ml-recommend'
|
|
|
|
|
|
export default {
|
|
|
name: 'QuestionEditorFactory',
|
|
|
@@ -57,8 +57,7 @@ export default {
|
|
|
stem: null,
|
|
|
|
|
|
debounceRecommend: debounce(() => {
|
|
|
- recommendKnowledge({ text: JSON.stringify(this.stem) })
|
|
|
- .then(res => console.log(res))
|
|
|
+ // recommendKnowledge({ text: JSON.stringify(this.stem) })
|
|
|
}, 500),
|
|
|
QuestionKind
|
|
|
}
|