Merged PR 82: Add scenario field for enabling chat
Add scenario field for enabling chat
This commit is contained in:
@@ -38,5 +38,6 @@ public class Scenario {
|
||||
private boolean useChatMemory=false;
|
||||
private String outputType;
|
||||
private boolean canvasEnabled=false;
|
||||
private boolean chatEnabled=false;
|
||||
|
||||
}
|
||||
|
||||
@@ -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")){
|
||||
|
||||
Reference in New Issue
Block a user