in src/main/java/org/apache/nlpcraft/client/impl/NCClientImpl.java [686:705]
public long addFeedback(String srvReqId, double score, String comment, Long usrId, String usrExtId)
throws NCClientException, IOException {
notNull(srvReqId, "srvReqId");
NCFeedbackAddBean b =
checkAndExtract(
post(
"feedback/add",
Pair.of("acsTok", acsTok),
Pair.of("srvReqId", srvReqId),
Pair.of("score", score),
Pair.of("comment", comment),
Pair.of("usrId", usrId),
Pair.of("usrExtId", usrExtId)
),
NCFeedbackAddBean.class
);
return b.getId();
}