Merged PR 82: Add scenario field for enabling chat

Add scenario field for enabling chat
This commit is contained in:
2025-03-18 16:18:56 +00:00
2 changed files with 2 additions and 1 deletions

View File

@@ -38,5 +38,6 @@ public class Scenario {
private boolean useChatMemory=false;
private String outputType;
private boolean canvasEnabled=false;
private boolean chatEnabled=false;
}

View File

@@ -38,7 +38,7 @@ public class DeleteDocTempSolver extends StepSolver {
if(this.step.getAttributes().containsKey("rag_topk")){
this.topk = (int) this.step.getAttributes().get("rag_topk");
}else{
this.topk = 1000;
this.topk = 5;
}
if(this.step.getAttributes().containsKey("rag_threshold")){