Browse Source

Merge branch 'beta' of https://git.cocorobo.cn/CocoRoboLabs/r2r_pbl into beta

lzw 3 months ago
parent
commit
10dd350573
1 changed files with 12 additions and 0 deletions
  1. 12 0
      src/components/pages/knowledge/components/testBox.vue

+ 12 - 0
src/components/pages/knowledge/components/testBox.vue

@@ -203,8 +203,20 @@ export default {
                 temperature: this.temperature,
                 tokens: this.tokens,
             };
+            // let params = {
+            //     documentids: "",
+            //     folderids: this.folderid, 
+            //     query: this.value,
+            //     useType: 1,
+            //     fullTextWeight: 1,
+            //     semanticWeight: 5,
+            //     limit: 10,
+            //     temperature: this.temperature,
+            //     tokens: this.tokens,
+            // };
             this.ajax
                 .post(this.$store.state.fileApi + "ragFolder", [params])
+                // .post(this.$store.state.fileApi + "searchFolder", [params])
                 .then((res) => {
                     this.isLoading = false;
                     this.getRagData();