chore: Update scenario execution in TestController and ScenarioExecutionService
This commit is contained in:
@@ -15,7 +15,7 @@ public class TestController {
|
||||
@GetMapping("/test/scenario_execution")
|
||||
public String testScenarioExecution(){
|
||||
|
||||
String result = scenarioExecutionService.executeScenario("66a7bbb7c5c2e1863e5d6db0","What the method SetField does in ATF ?");
|
||||
String result = scenarioExecutionService.executeScenario("66a7bbb7c5c2e1863e5d6db0","How a testcase is made on ATF ? What is the meaning of a Task?");
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ public class ScenarioExecutionService {
|
||||
StepSolver solver=new StepSolver();
|
||||
switch (step.getType()) {
|
||||
case "RAG_QUERY":
|
||||
solver = new BasicQueryRagSolver();
|
||||
solver = new BasicQueryRagSolver();
|
||||
break;
|
||||
case "SIMPLE_QUERY_AI":
|
||||
solver = new BasicAIPromptSolver();
|
||||
|
||||
Reference in New Issue
Block a user