mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 13:47:09 +00:00
(improvement)(Headless) Add STRICT, MODERATE, and LOOSE modes in the mapper phase. (#900)
This commit is contained in:
@@ -15,7 +15,7 @@ import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/semantic/query")
|
||||
@RequestMapping("/api/semantic/meta")
|
||||
@Slf4j
|
||||
public class MetaDiscoveryApiController {
|
||||
|
||||
|
||||
@@ -179,6 +179,7 @@ public class ChatQueryServiceImpl implements ChatQueryService {
|
||||
.mapInfo(new SchemaMapInfo())
|
||||
.modelIdToDataSetIds(modelIdToDataSetIds)
|
||||
.text2SQLType(queryReq.getText2SQLType())
|
||||
.mapModeEnum(queryReq.getMapModeEnum())
|
||||
.build();
|
||||
BeanUtils.copyProperties(queryReq, queryCtx);
|
||||
return queryCtx;
|
||||
|
||||
Reference in New Issue
Block a user