mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-15 14:36:47 +00:00
(improvement)(chat) Add domain tree for agent and plugin setting (#718)
Co-authored-by: jolunoluo
This commit is contained in:
@@ -15,6 +15,7 @@ import com.tencent.supersonic.headless.api.pojo.request.PageDimensionReq;
|
||||
import com.tencent.supersonic.headless.api.pojo.request.PageMetricReq;
|
||||
import com.tencent.supersonic.headless.api.pojo.response.DimensionResp;
|
||||
import com.tencent.supersonic.headless.api.pojo.response.DomainResp;
|
||||
import com.tencent.supersonic.headless.api.pojo.response.ItemResp;
|
||||
import com.tencent.supersonic.headless.api.pojo.response.MetricResp;
|
||||
import com.tencent.supersonic.headless.api.pojo.response.ViewResp;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -106,4 +107,9 @@ public class ChatConfigController {
|
||||
return semanticInterpreter.getMetricPage(pageMetricReq, user);
|
||||
}
|
||||
|
||||
@GetMapping("/getDomainViewTree")
|
||||
public List<ItemResp> getDomainViewTree() {
|
||||
return semanticInterpreter.getDomainViewTree();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user