|
@@ -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();
|