(improvement)(chat) add QueryResponder to recall history similar solved query

This commit is contained in:
jolunoluo
2023-09-19 15:36:15 +08:00
parent 13dcf0edb9
commit 31c8fea2dc
7 changed files with 187 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ public class ParseResp {
private ParseState state;
private List<SemanticParseInfo> selectedParses;
private List<SemanticParseInfo> candidateParses;
private List<SolvedQueryRecallResp> similarSolvedQuery;
public enum ParseState {
COMPLETED,

View File

@@ -0,0 +1,17 @@
package com.tencent.supersonic.chat.api.pojo.response;
import lombok.Builder;
import lombok.Data;
@Data
@Builder
public class SolvedQueryRecallResp {
private Long queryId;
private Integer parseId;
private String queryText;
}