mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 12:37:55 +00:00
(improvement)(Chat) Return agent info after creating agent (#1272)
Co-authored-by: lxwcodemonkey
This commit is contained in:
@@ -96,11 +96,6 @@ public class SemanticSchema implements Serializable {
|
||||
return getElementsByDataSetId(dataSetId, metrics);
|
||||
}
|
||||
|
||||
public List<String> getMetricNames() {
|
||||
return getMetrics().stream()
|
||||
.map(SchemaElement::getName).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
public List<SchemaElement> getEntities() {
|
||||
List<SchemaElement> entities = new ArrayList<>();
|
||||
dataSetSchemaList.stream().forEach(d -> entities.add(d.getEntity()));
|
||||
|
||||
Reference in New Issue
Block a user