mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-13 13:07:32 +00:00
[improvement][chat]Move generation of semantic text info and rewrite of error message to dedicated ResultProcessor.
This commit is contained in:
@@ -114,8 +114,7 @@ public abstract class BaseMapper implements SchemaMapper {
|
||||
return element.getAlias();
|
||||
}
|
||||
|
||||
public <T> List<T> getMatches(ChatQueryContext chatQueryContext,
|
||||
BaseMatchStrategy matchStrategy) {
|
||||
public <T> List<T> getMatches(ChatQueryContext chatQueryContext, MatchStrategy matchStrategy) {
|
||||
String queryText = chatQueryContext.getRequest().getQueryText();
|
||||
List<S2Term> terms =
|
||||
HanlpHelper.getTerms(queryText, chatQueryContext.getModelIdToDataSetIds());
|
||||
|
||||
Reference in New Issue
Block a user