Commit Graph

  • cadb743eda (improvement)[build] Add the spotless.skip configuration to resolve the error reported by Spotless during the build. (#1762) lexluo09 2024-10-09 22:20:56 +08:00
  • 2c75a6972a (improvement)[build] Format the enumeration class with line breaks (#1761) lexluo09 2024-10-09 20:56:08 +08:00
  • 3cae4c1ea6 (improvement)(headless) not merge nested aggregations (#1760) jipeli 2024-10-09 20:18:59 +08:00
  • 0a728d3d5d [improvement][launcher]Update Text2SQLEval. jerryjzhang 2024-10-09 20:11:01 +08:00
  • 809898e786 [improvement][launcher]Clean code structure of system demos. jerryjzhang 2024-10-09 19:47:18 +08:00
  • 5cbe3a2f2a [improvement][headless-chat]Prompt the LLM to create more readable alias. jerryjzhang 2024-10-09 19:25:18 +08:00
  • 5fcec320ba [improvement][chat]Do not create duplication memory for exactly the same question. jerryjzhang 2024-10-09 18:12:44 +08:00
  • dd40e6c14f [improvement][headless-fe] Resolved the issue with the test connection parameters for the large model configuration. (#1759) tristanliu 2024-10-09 18:06:05 +08:00
  • cd57d2344e [fix][chat]Model provider is case sensitive.#1739 jerryjzhang 2024-10-09 17:48:42 +08:00
  • d1902e2704 [improvement][headless-fe] Replaced the agentConfig with toolConfig (#1757) tristanliu 2024-10-09 17:45:59 +08:00
  • 248f4f83f6 [feature][chat]Refactor chat model config related codes.#1739 jerryjzhang 2024-10-09 17:27:07 +08:00
  • 60b0a1a1a1 [improvement][headless-fe] Introduced a new configuration option in the assistant module specifically for large model applications. (#1756) tristanliu 2024-10-09 17:22:19 +08:00
  • 9ffe67c962 [feature][chat]Add API to get ChatModelType list.#1739 jerryjzhang 2024-10-09 14:56:34 +08:00
  • 485a4a19f3 (improvement)(chat-sdk) show table when data length is 1 (#1755) williamhliu 2024-10-09 14:39:31 +08:00
  • fc040970b2 (improvement)[chat] Skip the corrector for complex SQL, and do not add the HAVING field to the SELECT clause (#1754) lexluo09 2024-10-09 14:38:12 +08:00
  • 3ea3c93dc6 Merge remote-tracking branch 'origin/master' jerryjzhang 2024-10-09 12:00:36 +08:00
  • 7b9ff2e281 [feature][chat]Introduce dedicated LLM management.#1739 jerryjzhang 2024-10-09 12:00:24 +08:00
  • df13e4363d [improvement][headless-fe] Added a configuration interface for large language models (#1752) tristanliu 2024-10-09 11:50:23 +08:00
  • 0654a54c8d [improvement][headless-chat]Prompt the LLM to add a fixed prefix to all aliases created by the AS command. jerryjzhang 2024-10-09 09:16:14 +08:00
  • 0f2b0e7986 [improvement][launcher]Add some examples to demo agent. jerryjzhang 2024-10-08 19:13:05 +08:00
  • aa32a2a640 [improvement][headless-chat]Rename methods of ChatQuery and ChatLayer service. jerryjzhang 2024-10-08 17:48:28 +08:00
  • 27e654a873 [improvement][headless-chat]Prompt LLM to generate with SQL statement to handle secondary calculation scenario.#1718 jerryjzhang 2024-10-08 16:05:43 +08:00
  • 8bf5d395a7 [improvement][headless-chat]Demo queries only use rule-based parser. jerryjzhang 2024-10-08 15:49:23 +08:00
  • 806fb64beb (fixed)修正复合指标引用同一原子指标,替换时BUG (#1743) zhaodongsheng 2024-10-08 15:34:43 +08:00
  • 569ebfc7b2 [improvement][headless-chat]Prompt LLM to generate with SQL statement to handle secondary calculation scenario. jerryjzhang 2024-10-08 15:01:07 +08:00
  • ee6b8a1044 (improvement)(knowledge) add keyValue parameter for queryDictValue (#1749) daikon 2024-10-08 00:10:34 +08:00
  • ff709aec60 (improvement)(headless) When retrieving all field names, consider alias fields. (#1751) lexluo09 2024-10-05 13:24:16 +08:00
  • 71a9954be5 (improvement)[build] Use Spotless to customize the code formatting (#1750) lexluo09 2024-10-04 00:05:04 +08:00
  • 44d1cde34f [improvement][corrector] Abstract the RuleSqlCorrector component. (#1748) lexluo09 2024-09-30 19:09:06 +08:00
  • 8693e7f8a7 [improvement][headless] In the translator, adopt Calcite to support multiple WITH structures and optimize the Calcite code. (#1747) lexluo09 2024-09-30 18:53:27 +08:00
  • de2385cd2c [improvement][headless] Backend uniformly supports other types of databases. (#1745) lexluo09 2024-09-30 15:02:58 +08:00
  • 2e45dcfd10 [improvement][headless] Include an other type as a parameter for a database type field. (#1744) lexluo09 2024-09-29 22:32:24 +08:00
  • 6c2553ab8f (improvement)(Chat) Optimize memory management (#1741) LXW 2024-09-29 17:13:06 +08:00
  • 23f29fee3e [improvement][headless-fe] Resolved the compatibility issue with the backend service where the updatedAt and other time fields were not being properly converted to the updated_at format for sorting purposes. (#1740) tristanliu 2024-09-29 17:01:33 +08:00
  • b0e120ef2e [improvement][headless-fe] Enhanced the memory management feature by adding sorting functionality and other optimization features. (#1738) tristanliu 2024-09-29 16:04:17 +08:00
  • bfdf9004ea [fix][launcher]Enable multi-turn conversation in S2VisitsDemo. jerryjzhang 2024-09-29 14:14:59 +08:00
  • 299fd8413a [improvement][headless-fe] Added query and batch delete operations to the terminology management feature (#1735) tristanliu 2024-09-29 11:32:04 +08:00
  • 5a163936a8 (improvement)(headless) Determine if there are any 'GROUP BY' fields that require compatibility with self-queries in WITH clauses. (#1734) lexluo09 2024-09-29 11:28:31 +08:00
  • 75f0e4d106 (improvement)(headless) Support batch delete term and query term #1408 (#1732) LXW 2024-09-29 01:06:36 +08:00
  • 47df22d1a0 (improvement)(auth) When checking auth, only the models involved in the query are considered rather than the models included in the data set. #1625 (#1731) LXW 2024-09-29 00:33:10 +08:00
  • 3a11ccb6e9 (improvement)(headless) Optimize jsqlparser code and add support for complex queries like WITH in the corrector (#1730) lexluo09 2024-09-28 23:26:39 +08:00
  • e351a1c541 (fix)(headless)fix the issue that the time schema in LllM is not matched with the sql which modifiedy by sqlAdaptor when the dateformat updated;also fix the issue that the model update is not effected on dimension(#1720)(1719) (#1725) feelshana 2024-09-28 09:36:49 +08:00
  • 77b6642dcc (improvement)(headless) Develop a time format conversion function for adapting to PostgreSQL database, capable of supporting data aggregation by week and month flyingfish 2024-09-28 09:31:18 +08:00
  • a50fe98f00 [improvement][headless-chat]Prioritize LLMSqlParser over RuleSqlParser. jerryjzhang 2024-09-27 16:21:46 +08:00
  • 764d3d24aa [improvement][headless]Set default query limits of DataSet. jerryjzhang 2024-09-27 16:07:25 +08:00
  • c8ac5a3ba2 [improvement][headless-fe] Changed the METRIC type in ChatContextType queryType to AGGREGATE (#1724) tristanliu 2024-09-27 15:38:14 +08:00
  • ae3e9f142b [improvement][headless]Rename METRIC query type enum to AGGREGATE. jerryjzhang 2024-09-27 15:19:26 +08:00
  • c34c3ecf09 [improvement][headless-fe] Added a connectivity test for large models in the system settings (#1723) tristanliu 2024-09-27 15:06:24 +08:00
  • 35030aeb23 [improvement][headless]Rename metric and tag query type to aggregate and detail respectively. jerryjzhang 2024-09-26 20:29:51 +08:00
  • 066b9cc1f7 (improvement)(chat) Fix the SQL fields generated by the large model that contain (#1715) lexluo09 2024-09-25 22:49:46 +08:00
  • e410611a7c Flyingfish/issue1590 (#1708) flyingfish 2024-09-24 20:00:04 +08:00
  • 89b9c694be (fix)(headless) fix the error choice of default model(#1684) (#1707) jipeli 2024-09-24 18:34:48 +08:00
  • dbea1e7c68 (improvement)(chat) Fix the issue of dimension values being cleared and unable to be parsed (#1703) lexluo09 2024-09-23 21:42:09 +08:00
  • 4ef5719953 (improvement)(chat) Including agg refers to the metric pattern, adding the missing dimensions for count distinct in the group by clause, and increasing the timeout duration in H2 (#1700) lexluo09 2024-09-23 16:02:33 +08:00
  • 23489a6c06 (improvement)(chat) Optimize memory recall to enable few-shot recall within the Agent level (#1696) lexluo09 2024-09-23 10:56:24 +08:00
  • cd08cf51c5 [improvement][project]Use DatePeriodEnum to replace DAY/MONTH/YEAR period constants. jerryjzhang 2024-09-22 17:14:55 +08:00
  • ae889bb0ae [improvement][project]Optimize certain code structures. jerryjzhang 2024-09-21 18:13:31 +08:00
  • 4193b84e83 (fix)(chat) fix the issue that front-end filter time re-query does not take effect, when the partition time field name is not imp_date #1638 (#1694) LXW 2024-09-21 13:24:38 +08:00
  • a18c340a64 Merge remote-tracking branch 'origin/master' jerryjzhang 2024-09-21 13:15:13 +08:00
  • b6765387f5 [improvement][headless]Introduce new time mode CURRENT. #1692 jerryjzhang 2024-09-21 13:14:47 +08:00
  • 79dc6c04ce (improvement)(chat) Avoid occasional npe when obtaining recommended dimensions (#1693) LXW 2024-09-21 12:27:32 +08:00
  • 26ca5300f4 [improvement][launcher]Introduce ollama local models to Text2SQLEval. jerryjzhang 2024-09-20 18:48:55 +08:00
  • a200483b5c Support limit (#1688) daikon 2024-09-20 18:35:25 +08:00
  • 901a8e722a [improvement][project]Apply spotless automatically when maven compile/test. jerryjzhang 2024-09-20 18:29:53 +08:00
  • e0a2ed557d [improvement][chat-server]Iterate LLM prompt in the MemoryReviewTask. jerryjzhang 2024-09-20 18:21:43 +08:00
  • ac250907f0 [fix][headless-chat]Fix NPE during word searching process.#1672 jerryjzhang 2024-09-20 17:54:29 +08:00
  • 6a8686f513 [improvement][launcher]Add duration counter in Text2SQLEval. jerryjzhang 2024-09-20 17:24:00 +08:00
  • c045b34328 [improvement][chat]Expose default prompt template to facilitate customization. jerryjzhang 2024-09-20 16:46:49 +08:00
  • 2c7758d0ca [improvement][headless-chat]Optimize HeuristicDataSetResolver to prioritize max similarity of dataset and metric.#1690 jerryjzhang 2024-09-20 14:25:51 +08:00
  • 5ba401addf (fixed)listColumnsBySql from get to Post (#1683) zhaodongsheng 2024-09-19 11:47:12 +08:00
  • 75bc470670 (improvement)(build) Fix the .NoClassDefFoundError: org/codehaus/stax2/XMLInputFactory2 error (#1682) lexluo09 2024-09-18 21:40:49 +08:00
  • 0c0fbb829e (improvement)(auth)Avoid printing error logs when key decryption and token parsing fail (#1681) LXW 2024-09-18 16:20:12 +08:00
  • 70fff17fbe (improvement)(headless) Delete 'is null' and 'is not null' expressions only in the WHERE clause, and keep them in the HAVING clause (#1680) lexluo09 2024-09-15 11:05:54 +08:00
  • 2086a560b1 refactor(headless): 使用 ColumnReq 请求对象替换 getColumnsBySql引入 ColumnReq 请求对象以统一请求参数,并在 DatabaseController 中替换 getColumnsBySql 方法以使用此对象。相应地,更新 service.ts 中的函数以匹配新端点 listColumnsBySql,并在 SqlDetail.tsx 中调用更新后的函数。 (#1678) zhaodongsheng 2024-09-14 20:18:07 +08:00
  • 76f41cc32e [improvement][headless-chat]Adjust default mapping threshold, reducing # of similar names. jerryjzhang 2024-09-14 15:45:40 +08:00
  • e64f47a15b (improvement)(common) Adjust the order of chat modes. (#1674) lexluo09 2024-09-14 15:19:48 +08:00
  • 9bcda52757 Merge branch 'master' of github.com:tencentmusic/supersonic jerryjzhang 2024-09-14 14:32:44 +08:00
  • 19f9e15521 (improvement)(headless) Compatible with semicolon after SQL when creating model by sql #1654 (#1673) LXW 2024-09-14 14:30:23 +08:00
  • 6ac7949a18 [fix][chat]Fix illegal argument exception. jerryjzhang 2024-09-14 14:30:04 +08:00
  • 4e1b2e3dfe (improvement)(common) Support deleting 'is null' and 'is not null' expressions in the WHERE clause (#1670) lexluo09 2024-09-13 23:33:57 +08:00
  • 5981b3a6f4 [improvement][headless-fe] Fixed the issue with hidden field validation when editing dimensions (#1668) tristanliu 2024-09-13 17:09:11 +08:00
  • 4c9f16728a (feature)(chat-sdk) add time display above card (#1667) williamhliu 2024-09-13 15:11:00 +08:00
  • 579394af40 [fix][headless-chat]Fix NPE problem. jerryjzhang 2024-09-13 14:54:34 +08:00
  • 5f4d24348a [improvement][headless] fix queryData by dimension error (#1666) jipeli 2024-09-13 14:37:14 +08:00
  • e901ff8370 [improvement][launcher]Fix some test cases in Text2SQLEval. jerryjzhang 2024-09-13 11:57:40 +08:00
  • faae692dff (fix)(headless) Fix the error that occurs when inserting in multiple cases of drill-down dimensions (#1665) lexluo09 2024-09-13 11:47:28 +08:00
  • d89d6661a9 [improvement][headless]Format the Text2SQL prompt to make it more readable. jerryjzhang 2024-09-13 09:31:50 +08:00
  • 0ff31ddf61 (improvement)(chat) 优化提示工程、重试机制 (#1658) yudong 2024-09-13 09:25:55 +08:00
  • 37f12391b0 [improvement][headless]Add databaseType into the Schema part of the Text2SQL prompt. #1621 jerryjzhang 2024-09-12 23:20:49 +08:00
  • 47cc933aec (fix)(headless)When reload dictWord, the old data was not cleared (#1659) SuperLiChaoRen 2024-09-12 22:27:17 +08:00
  • e07ba7cfdb (improvement)(chat-sdk) modify sql field and plugin card width (#1662) williamhliu 2024-09-12 20:32:01 +08:00
  • c99d240b65 [improvement][headless]Restructure LLMReq and LLMSchema. jerryjzhang 2024-09-12 20:01:52 +08:00
  • 4b1dab8e4a (improvement)(headless) Upgrade to the latest version of langchain4j and add support for embedding deletion operation and reset. (#1660) lexluo09 2024-09-12 18:16:16 +08:00
  • 693356e46a [improvement][headless]Add metricFormat field to metric metadata of the Text2SQL prompt. #1621 jerryjzhang 2024-09-12 18:13:44 +08:00
  • 2fa3bfe019 (improvement)(headless)Add timeFormat to dimension metadata of the Text2SQL prompt. jerryjzhang 2024-09-12 09:59:04 +08:00
  • ff0833ddfa [improvement](headless) Optimize the reload embedding interface (#1655) lexluo09 2024-09-11 22:52:46 +08:00
  • 51e7a9bcd7 (fix)(chat) 修复做embedding检索时,出现重复数据的问题 (#1643) yudong 2024-09-11 22:07:23 +08:00
  • 989ae3c128 [improvement][headless]Add partitionTime and primaryKey field into the Schema part of the Text2SQL prompt. #1621 jerryjzhang 2024-09-11 21:34:49 +08:00
  • 82b5fa966a [improvement][headless]Add partitionTime and primaryKey field into the Schema part of the Text2SQL prompt. #1621 jerryjzhang 2024-09-11 21:29:37 +08:00
  • a82e3c8b1e (improvement)(chat-sdk) optimize card title (#1653) williamhliu 2024-09-11 19:37:31 +08:00