mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-24 02:24:59 +08:00
[improvement][chat]Add queryId to QueryNLReq.
This commit is contained in:
@@ -91,6 +91,7 @@ public class ChatQueryServiceImpl implements ChatQueryService {
|
||||
Long queryId = chatParseReq.getQueryId();
|
||||
if (Objects.isNull(queryId)) {
|
||||
queryId = chatManageService.createChatQuery(chatParseReq);
|
||||
chatParseReq.setQueryId(queryId);
|
||||
}
|
||||
|
||||
ParseContext parseContext = buildParseContext(chatParseReq, new ChatParseResp(queryId));
|
||||
|
||||
Reference in New Issue
Block a user