* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] add metric trend download functionality
* [improvement][semantic-fe] fix the dimension initialization issue in metric correlation
* [improvement][semantic-fe] Fix the issue of database changes not taking effect when creating based on an SQL data source.
* [improvement][semantic-fe] Optimizing pagination logic and some CSS styles
* [improvement][semantic-fe] Fixing the API for the indicator list by changing "current" to "pageNum"
* [improvement][semantic-fe] Fixing the default value setting for the indicator list
* [improvement][semantic-fe] Adding batch operations for indicators/dimensions/models
* [improvement][semantic-fe] Replacing the single status update API for indicators/dimensions with a batch update API
* [improvement][semantic-fe] Redesigning the indicator homepage to incorporate trend charts and table functionality for indicators
* [improvement][semantic-fe] Optimizing the logic for setting dimension values and editing data sources, and adding system settings functionality
* [improvement][semantic-fe] Upgrading antd version to 5.x, extracting the batch operation button component, optimizing the interaction for system settings, and expanding the configuration generation types for list-to-select component.
* [improvement][semantic-fe] Adding the ability to filter dimensions based on whether they are tags or not.
* [improvement][semantic-fe] Adding the ability to edit relationships between models in the canvas.
* [improvement][semantic-fe] Updating the datePicker component to use dayjs instead.
* [improvement][semantic-fe] Fixing the issue with passing the model ID for dimensions in the indicator market.
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] add metric trend download functionality
* [improvement][semantic-fe] fix the dimension initialization issue in metric correlation
* [improvement][semantic-fe] Fix the issue of database changes not taking effect when creating based on an SQL data source.
* [improvement][semantic-fe] Optimizing pagination logic and some CSS styles
* [improvement][semantic-fe] Fixing the API for the indicator list by changing "current" to "pageNum"
* [improvement][semantic-fe] Fixing the default value setting for the indicator list
* [improvement][semantic-fe] Adding batch operations for indicators/dimensions/models
* [improvement][semantic-fe] Replacing the single status update API for indicators/dimensions with a batch update API
* [improvement][semantic-fe] Redesigning the indicator homepage to incorporate trend charts and table functionality for indicators
* [improvement][semantic-fe] Optimizing the logic for setting dimension values and editing data sources, and adding system settings functionality
* [improvement][semantic-fe] Upgrading antd version to 5.x, extracting the batch operation button component, optimizing the interaction for system settings, and expanding the configuration generation types for list-to-select component.
* [improvement][semantic-fe] Adding the ability to filter dimensions based on whether they are tags or not.
* [improvement][semantic-fe] Adding the ability to edit relationships between models in the canvas.
* [improvement][semantic-fe] Updating the datePicker component to use dayjs instead.
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] add metric trend download functionality
* [improvement][semantic-fe] fix the dimension initialization issue in metric correlation
* [improvement][semantic-fe] Fix the issue of database changes not taking effect when creating based on an SQL data source.
* [improvement][semantic-fe] Optimizing pagination logic and some CSS styles
* [improvement][semantic-fe] Fixing the API for the indicator list by changing "current" to "pageNum"
* [improvement][semantic-fe] Fixing the default value setting for the indicator list
* [improvement][semantic-fe] Adding batch operations for indicators/dimensions/models
* [improvement][semantic-fe] Replacing the single status update API for indicators/dimensions with a batch update API
* [improvement][semantic-fe] Redesigning the indicator homepage to incorporate trend charts and table functionality for indicators
* [improvement][semantic-fe] Optimizing the logic for setting dimension values and editing data sources, and adding system settings functionality
* [improvement][semantic-fe] Upgrading antd version to 5.x, extracting the batch operation button component, optimizing the interaction for system settings, and expanding the configuration generation types for list-to-select component.
* [improvement][semantic-fe] Adding the ability to filter dimensions based on whether they are tags or not.
* [improvement][semantic-fe] Adding the ability to edit relationships between models in the canvas.
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] add metric trend download functionality
* [improvement][semantic-fe] fix the dimension initialization issue in metric correlation
* [improvement][semantic-fe] Fix the issue of database changes not taking effect when creating based on an SQL data source.
* [improvement][semantic-fe] Optimizing pagination logic and some CSS styles
* [improvement][semantic-fe] Fixing the API for the indicator list by changing "current" to "pageNum"
* [improvement][semantic-fe] Fixing the default value setting for the indicator list
* [improvement][semantic-fe] Adding batch operations for indicators/dimensions/models
* [improvement][semantic-fe] Replacing the single status update API for indicators/dimensions with a batch update API
* [improvement][semantic-fe] Redesigning the indicator homepage to incorporate trend charts and table functionality for indicators
* [improvement][semantic-fe] Optimizing the logic for setting dimension values and editing data sources, and adding system settings functionality
* [improvement][semantic-fe] Upgrading antd version to 5.x, extracting the batch operation button component, optimizing the interaction for system settings, and expanding the configuration generation types for list-to-select component.
* [improvement][semantic-fe] Adding the ability to filter dimensions based on whether they are tags or not.
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] add metric trend download functionality
* [improvement][semantic-fe] fix the dimension initialization issue in metric correlation
* [improvement][semantic-fe] Fix the issue of database changes not taking effect when creating based on an SQL data source.
* [improvement][semantic-fe] Optimizing pagination logic and some CSS styles
* [improvement][semantic-fe] Fixing the API for the indicator list by changing "current" to "pageNum"
* [improvement][semantic-fe] Fixing the default value setting for the indicator list
* [improvement][semantic-fe] Adding batch operations for indicators/dimensions/models
* [improvement][semantic-fe] Replacing the single status update API for indicators/dimensions with a batch update API
* [improvement][semantic-fe] Redesigning the indicator homepage to incorporate trend charts and table functionality for indicators
* [improvement][semantic-fe] Optimizing the logic for setting dimension values and editing data sources, and adding system settings functionality
* [improvement][semantic-fe] Upgrading antd version to 5.x, extracting the batch operation button component, optimizing the interaction for system settings, and expanding the configuration generation types for list-to-select component.
* (improvement)(chat) Add PostProcessor to do some logic after parser and corrector
* (improvement)(chat) Add MetricCheckPostProcessor used to verify whether the dimensions involved in the query in metric mode can drill down on the metric
---------
Co-authored-by: jolunoluo
* (improvement) (semantic) Simplify datasource related code and support setting filtering SQL for dict generation
* (improvement) (semantic) Remove the semicolon at the end of the datasource SQL
* (improvement) (common) Update sys parameter init
---------
Co-authored-by: jolunoluo
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] add metric trend download functionality
* [improvement][semantic-fe] fix the dimension initialization issue in metric correlation
* [improvement][semantic-fe] Fix the issue of database changes not taking effect when creating based on an SQL data source.
* [improvement][semantic-fe] Optimizing pagination logic and some CSS styles
* [improvement][semantic-fe] Fixing the API for the indicator list by changing "current" to "pageNum"
* [improvement][semantic-fe] Fixing the default value setting for the indicator list
* [improvement][semantic-fe] Adding batch operations for indicators/dimensions/models
* [improvement][semantic-fe] Replacing the single status update API for indicators/dimensions with a batch update API
* [improvement][semantic-fe] Redesigning the indicator homepage to incorporate trend charts and table functionality for indicators
* [improvement][semantic-fe] Optimizing the logic for setting dimension values and editing data sources, and adding system settings functionality
* (fix) (chat) fix the context saving failure caused by the loss of default values caused by @builder
* (fix) (chat) fix date and metrics result in parse info in integration test
* (improvement) (chat) refactor querySelect to queryRanker
---------
Co-authored-by: jolunoluo
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] add metric trend download functionality
* [improvement][semantic-fe] fix the dimension initialization issue in metric correlation
* [improvement][semantic-fe] Fix the issue of database changes not taking effect when creating based on an SQL data source.
* [improvement][semantic-fe] Optimizing pagination logic and some CSS styles
* [improvement][semantic-fe] Fixing the API for the indicator list by changing "current" to "pageNum"
* [improvement][semantic-fe] Fixing the default value setting for the indicator list
* [improvement][semantic-fe] Adding batch operations for indicators/dimensions/models
* [improvement][semantic-fe] Replacing the single status update API for indicators/dimensions with a batch update API
* [improvement][semantic-fe] Redesigning the indicator homepage to incorporate trend charts and table functionality for indicators
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] add metric trend download functionality
* [improvement][semantic-fe] fix the dimension initialization issue in metric correlation
* [improvement][semantic-fe] Fix the issue of database changes not taking effect when creating based on an SQL data source.
* [improvement][semantic-fe] Optimizing pagination logic and some CSS styles
* [improvement][semantic-fe] Fixing the API for the indicator list by changing "current" to "pageNum"
* [improvement][semantic-fe] Fixing the default value setting for the indicator list
* [improvement][semantic-fe] Adding batch operations for indicators/dimensions/models
* [improvement][semantic-fe] Replacing the single status update API for indicators/dimensions with a batch update API
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] add metric trend download functionality
* [improvement][semantic-fe] fix the dimension initialization issue in metric correlation
* [improvement][semantic-fe] Fix the issue of database changes not taking effect when creating based on an SQL data source.
* [improvement][semantic-fe] Optimizing pagination logic and some CSS styles
* [improvement][semantic-fe] Fixing the API for the indicator list by changing "current" to "pageNum"
* [improvement][semantic-fe] Fixing the default value setting for the indicator list
* [improvement][semantic-fe] Adding batch operations for indicators/dimensions/models
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] add metric trend download functionality
* [improvement][semantic-fe] fix the dimension initialization issue in metric correlation
* [improvement][semantic-fe] Fix the issue of database changes not taking effect when creating based on an SQL data source.
* [improvement][semantic-fe] Optimizing pagination logic and some CSS styles
* [improvement][semantic-fe] Fixing the API for the indicator list by changing "current" to "pageNum"
* [improvement][semantic-fe] Fixing the default value setting for the indicator list
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] add metric trend download functionality
* [improvement][semantic-fe] fix the dimension initialization issue in metric correlation
* [improvement][semantic-fe] Fix the issue of database changes not taking effect when creating based on an SQL data source.
* [improvement][semantic-fe] Optimizing pagination logic and some CSS styles
* [improvement][semantic-fe] Fixing the API for the indicator list by changing "current" to "pageNum"
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] add metric trend download functionality
* [improvement][semantic-fe] fix the dimension initialization issue in metric correlation
* [improvement][semantic-fe] Fix the issue of database changes not taking effect when creating based on an SQL data source.
* [improvement][semantic-fe] Optimizing pagination logic and some CSS styles
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] add metric trend download functionality
* [improvement][semantic-fe] fix the dimension initialization issue in metric correlation
* [improvement][semantic-fe] Fix the issue of database changes not taking effect when creating based on an SQL data source.
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] add metric trend download functionality
* [improvement][semantic-fe] fix the dimension initialization issue in metric correlation
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] add metric trend download functionality
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* [improvement][semantic-fe] optimize the presentation of metric trend permissions
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] enhance the analysis of metric trends
* (improvement)(semantic) add metric and dimension name check
* (improvement)(chat) opt QueryResponder recalling history similar solved query
---------
Co-authored-by: jolunoluo
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] metric market experience optimization
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Modification of data source creation prompt wording"
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
* [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement][semantic-fe] Add time granularity setting in the data source configuration.
[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
* [improvement](llm) data de-identification for few-shots examples.
* [improvement](llm) add plugin-call and preset retrieval features.
* [fix](llm) remove config variables.
* [improvement][feature]upgrade text2dsl module for date related parse.
---------
**SuperSonic is an out-of-the-box yet highly extensible framework for building a data chatbot**. SuperSonic provides a chat interface that empowers users to query data using natural language and visualize the results with suitable charts. To enable such experience, the only thing necessary is to build logical semantic models (definition of metrics/dimensions/entities, along with their meaning, context and relationships) on top of physical data models, and no data modification or copying is required. Meanwhile, SuperSonic is designed to be pluggable, allowing new functionalities to be added through plugins and core components to be integrated with other systems.
**SuperSonic is an out-of-the-box yet highly extensible framework for building ChatBI**. SuperSonic provides a chat interface that empowers users to query data using natural language and visualize the results with suitable charts. To enable such experience, the only thing necessary is to build logical semantic models (definition of metrics/dimensions/entities, along with their meaning, context and relationships) on top of physical data models, and no data modification or copying is required. Meanwhile, SuperSonic is designed to be pluggable, allowing new functionalities to be added through plugins and core components to be integrated with other systems.
The emergence of Large Language Model (LLM) like ChatGPT is reshaping the way information is retrieved. In the field of data analytics, both academia and industry are primarily focused on leveraging LLM to convert natural language queries into SQL queries. While some works show promising results, they are still not applicable to real-world scenarios.
The emergence of Large Language Model (LLM) like ChatGPT is reshaping the way information is retrieved. In the field of data analytics, both academia and industry are primarily focused on leveraging LLM to convert natural language into SQL (so called text2sql or nl2sql). While some works exhibit promising results, their **reliability** is inadequate for real-world applications.
From our perspective, the key to filling the real-world gap lies in two aspects:
1.Utilize a combination of rule-based and model-based semantic parsers to deal with different scenarios.
2.Introduce a semantic model layer encapsulating the underlying data complexity(joins, formulas, etc) to simplify semantic parsing.
From our perspective, the key to filling the real-world gap lies in three aspects:
1.Introduce a semantic layer encapsulating underlying data context(joins, formulas, etc) to reduce **complexity**.
2.Augment the LLM with schema mappers(as a kind of preprocessor) and semantic correctors(as a kind of postprocessor) to mitigate **hallucination**.
3. Utilize heuristic rules when necessary to improve **efficiency**(in terms of latency and cost).
With these ideas in mind, we develop SuperSonic as a practical reference implementation and use it to power our real-world products. Additionally, to facilitate further development of data chatbot, we decide to open source SuperSonic as an extensible framework.
With these ideas in mind, we develop SuperSonic as a practical reference implementation and use it to power our real-world products. Additionally, to facilitate further development of ChatBI, we decide to open source SuperSonic as an extensible framework.
## Out-of-the-box Features
- Built-in graphical interface for business users to enter data queries
- Built-in graphical interface for analytics engineers to manage semantic models
- Built-in CUI(Chat User Interface) for *business users* to enter data queries
- Built-in GUI(Graphical User Interface) for *analytics engineers* to build semantic models
- Built-in GUI for *system administrators* to manage chat agents and third-party plugins
- Support input auto-completion as well as query recommendation
- Support multi-turn conversation and history context management
- Support three-level permission control: domain-level, column-level and row-level
- Support four-level permission control: domain-level, model-level, column-level and row-level
## Extensible Components
The high-level architecture and main process flow is shown in below diagram:
The high-level architecture and main process flow is as follows:
- **Chat Interface:** accepts natural language queries and answer results with appropriate visualization charts. It supports input auto-completion as well as multi-turn conversation.
- **Knowledge Base:** extracts schema information periodically from the semantic models and build dictionary and index to facilitate schema mapping.
- **Modeling Interface:** empowers analytics engineers to visually define and maintain semantic models. The configurations related to access permission and chat conversation can also be set on the UI.
- **Schema Mapper:** identifies references to schema elements(metrics/dimensions/entities/values) in user queries. It matches the query text against the knowledge base.
- **Schema Mapper Chain:** identifies references to schema elements(metrics/dimensions/entities/values) in user queries. It matches the query text against a knowledge base constructed from the semantic models.
- **Semantic Parser:** understands user queries and extracts semantic information. It consists of a combination of rule-based and model-based parsers, each of which deals with specific scenarios.
- **Semantic Parser Chain:** understands user queries and extract semantic information. It consists of a combination of rule-based and model-based parsers, each of which deals with specific scenarios.
- **Semantic Corrector:** checks validity of extracted semantic information and performs correction and optimization if needed.
- **Semantic Query:** performs execution according to extracted semantic information. It generates SQL queries and executes them against physical data models.
- **Semantic Interpreter:** performs execution according to extracted semantic information. It generates SQL statements and executes them against physical data models.
- **Chat Plugin:** extends functionality with third-party tools. The LLM is going to select the most suitable one, given all configured plugins with function description and sample questions.
## Quick Demo
SuperSonic comes with sample semantic models as well as chat conversations that can be used as a starting point. Please follow the steps:
- Download the latest prebuilt binary from the [release page](https://github.com/tencentmusic/supersonic/releases)
- Run script "bin/start-standalone.sh" to start a standalone server
- Visit http://localhost:9080 in browser to start exploration
- Run script "bin/supersonic-daemon.sh" to start services (one java process andone python process)
- Visit http://localhost:9080 in the browser to start exploration
## How to Build
## Build and Development
SuperSonic can be deployed in two modes: standalone (intended for quick demo) and distributed (intended for production).
Please refer to project [wiki](https://github.com/tencentmusic/supersonic/wiki).
### Build for Standalone Mode
## WeChat Contact
Pull the source code and run script "assembly/bin/build-standalone.sh" to build a single packages.
Please follow SuperSonic wechat official account:
### Build for Distributed Mode
Pull the source code and run scripts "assembly/bin/build-chat.sh" and "assembly/bin/build-semantic.sh" separately to build packages.
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.