Commit 707da9fb authored by Zied SELLAMI's avatar Zied SELLAMI

Update SmartReply json result

parent d3f8ad05
......@@ -295,9 +295,9 @@ public class WebService {
mapper.configure(SerializationFeature.INDENT_OUTPUT, true);
try {
System.out.println(answerResults.size() + " Detected intent in the email.");
Result result = new Result(intentResults, answerResults);
//String json = mapper.writeValueAsString(answerResults);
String json = mapper.writeValueAsString(result);
//Result result = new Result(intentResults, answerResults);
String json = mapper.writeValueAsString(answerResults);
//String json = mapper.writeValueAsString(result);
return Response
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment