Commit Graph
112451 Commits
Author SHA1 Message Date
sunhao 5145e0dfaa * [refac] format code. 2025-12-02 16:32:08 +08:00
sunhao f3518f8619 * [misc] add method to extract file content by zai. 2025-12-02 16:32:08 +08:00
sunhao 73c67e8be4 * [misc] enhance zai-callAPI method and support for uploading file to zai. 2025-12-02 16:32:08 +08:00
sunhao 69aa06effb * [misc] modified API response handling to return content_id instead of id. 2025-12-02 16:32:08 +08:00
sunhao 910f145baf * [misc] show model name instead of id in models list. 2025-12-02 16:32:08 +08:00
wangzemei b3ad5dda61 * [task#151915] modify the edition. 2025-12-02 16:32:07 +08:00
wangzemei 977ab04f79 - [task#151915] remove useless code. 2025-12-02 16:32:07 +08:00
wangzemei 44a2eaf580 * [task#151915] add intelligent session mounting knowledge base. 2025-12-02 16:32:07 +08:00
wangzemei 7c32d9a3f4 + [unittest] add the unittest for convertTaskToMarkdown. 2025-12-02 16:32:07 +08:00
wangzemei d4d959437e + [unittest] add the unittest for convertTaskToMarkdown. 2025-12-02 16:32:07 +08:00
wangzemei e32585a449 + [unittest] add the convertTaskToMarkdownTest. 2025-12-02 16:32:07 +08:00
wangzemei a0015db831 + [task#152399] add the content for convertTaskToMarkdown. 2025-12-02 16:32:07 +08:00
wangzemei 6c45b33e31 + [task#152399] add the convertTaskToMarkdown. 2025-12-02 16:32:06 +08:00
wangzemei 17d6ca0767 * [task#151920] process the conversion of interface documents for convertDocToMarkdown. 2025-12-02 16:32:06 +08:00
wangzemei 0703b46113 * [task#151920] process the conversion of interface documents for convertDocToMarkdown. 2025-12-02 16:32:06 +08:00
wangzemei e2deb4a2a0 * [task#151920] process the conversion of interface documents for convertDocToMarkdown. 2025-12-02 16:32:06 +08:00
sunhao 6e40fbb587 * [misc] update zentao21.7.7 with new ai tables schema. 2025-12-02 16:32:06 +08:00
sunhao ff8ebe12cb * [misc] fix title field missing in zt_ai_knowledgeitem. 2025-12-02 16:32:06 +08:00
sunhao 45792c23b5 * [misc] fix kownledge chunks not work as expected. 2025-12-02 16:32:06 +08:00
wangzemei 6b86dc2974 + [task#151918] add the privs for aiKnowledgeLib. 2025-12-02 16:32:06 +08:00
hujunqing 1ab9acdb55 [story#78656,0.5h] knowledge lib support. 2025-12-02 16:32:05 +08:00
sunhao 5cf60ff204 * [misc] add objectData property to table zt_knowledgeitem to store origin object propertis. 2025-12-02 16:32:05 +08:00
sunhao 5c07d2ea2e * [misc] fix error on convert story to markdown. 2025-12-02 16:32:05 +08:00
hujunqing 0b700be7ff Update sql and lang config. 2025-12-02 16:32:05 +08:00
hujunqing 92673d6a6e Update lang config. 2025-12-02 16:32:05 +08:00
hujunqing 84c8829f5d [story#78657] knowledge lib support. 2025-12-02 16:32:05 +08:00
hujunqing b729aafd4f [story#78657] knowledge lib support. 2025-12-02 16:32:05 +08:00
hujunqing c93f6e842e [story#78657] knowledge lib support. 2025-12-02 16:32:05 +08:00
sunhao 2b686d71e8 * [misc] fix php types in zai unittest. 2025-12-02 16:32:04 +08:00
sunhao a1668659a1 * [misc] fix zai-getKnowledgeChunks not return valid data. 2025-12-02 16:32:04 +08:00
sunhao 84de5f8c11 * [misc] change zai-deleteKnowledgeItem param from key to content id. 2025-12-02 16:32:04 +08:00
sunhao 6d9a7ccdbe * [misc] fix zai-updateKnowledgeItem not return content id. 2025-12-02 16:32:04 +08:00
sunhao 4a059ac277 * [refac] add comments. 2025-12-02 16:32:04 +08:00
sunhao 7dea629a0e * [unittest] add unit test files. 2025-12-02 16:32:04 +08:00
sunhao 2e41a480f7 * [misc] fix zai-getKnowledgeChunks return result. 2025-12-02 16:32:04 +08:00
sunhao 7f81639e0a * [refac] add comments. 2025-12-02 16:32:04 +08:00
sunhao d320e9982d * [misc] add methods to push knowledge data to zai. 2025-12-02 16:32:04 +08:00
sunhao 780e9fa311 * [misc] move story reviewer prompts to build-in zentao prompt. 2025-12-02 16:32:04 +08:00
sunhao cda663bd06 * [misc] fix default model setting in zentao prompt not work. 2025-12-02 16:32:03 +08:00
hujunqing 9a9477d1af Update sql. 2025-12-02 16:32:03 +08:00
hujunqing 66ee9da884 Update sql. 2025-12-02 16:32:03 +08:00
hujunqing 92d3fd5e41 Update sql. 2025-12-02 16:32:03 +08:00
hujunqing d3bfbc1554 Update sql. 2025-12-02 16:32:03 +08:00
hujunqing 4e2ad2c93f Update sql. 2025-12-02 16:32:03 +08:00
sunhao bdbebd54a9 * [story #78659] refactor by sonar issue report. https://sq.qc.oop.cc/project/issues\?branch\=feature%2Fai\&inNewCodePeriod\=true\&issueStatuses\=OPEN%2CCONFIRMED\&open\=71d3f649-5ee6-4d9d-8e87-8958f21279d2\&id\=sunhao%3Azentaopms 2025-12-02 16:32:03 +08:00
sunhao 12933a34c0 * [story #78659] add unittest files. 2025-12-02 16:32:03 +08:00
sunhao de2c9b8045 * [story #78659] refactor key parsing in zaiModel to improve object visibility checks. 2025-12-02 16:32:02 +08:00
sunhao 4e0b0c9d47 * [story #78659] refactor zai-ajaxSearchKnowledges by new zai model methods. 2025-12-02 16:32:02 +08:00
sunhao 4b0903fb7b * [story #78659] add new methods to search knowledges and chunks. 2025-12-02 16:32:02 +08:00
sunhao 7f10c23940 * [story #78659] add new methods to filter knowledges and chunks by user priv. 2025-12-02 16:32:02 +08:00