@3-/aiapi 0.1.78 → 0.1.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/check/SEARCH.js CHANGED
@@ -20,7 +20,7 @@ export default {
20
20
  },
21
21
  md: {
22
22
  type: TYPE.STRING,
23
- description: '章节正文,markdown格式(禁止包含标题)'
23
+ description: '章节正文,markdown格式(禁止包含标题),合理分段,降低阅读压力'
24
24
  }
25
25
  }
26
26
  }
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@3-/aiapi","version":"0.1.78","repository":{"type":"git","url":"git+https://atomgit.com/i18n/lib.git"},"homepage":"https://atomgit.com/i18n/lib/tree/dev/aiapi","author":"i18n.site@gmail.com","license":"MulanPSL-2.0","exports":{".":"./lib.js","./*":"./*"},"files":["./*"],"devDependencies":{"@3-/read":"^0.1.4"},"scripts":{},"type":"module","dependencies":{"@3-/retry":"^0.0.2","@3-/rm_cn_space":"^0.1.1","@3-/sleep":"^0.0.4","@3-/txt_li":"^0.1.5","@3-/utf8":"^0.0.4","lodash-es":"^4.17.21"}}
1
+ {"name":"@3-/aiapi","version":"0.1.79","repository":{"type":"git","url":"git+https://atomgit.com/i18n/lib.git"},"homepage":"https://atomgit.com/i18n/lib/tree/dev/aiapi","author":"i18n.site@gmail.com","license":"MulanPSL-2.0","exports":{".":"./lib.js","./*":"./*"},"files":["./*"],"devDependencies":{"@3-/read":"^0.1.4"},"scripts":{},"type":"module","dependencies":{"@3-/retry":"^0.0.2","@3-/rm_cn_space":"^0.1.1","@3-/sleep":"^0.0.4","@3-/txt_li":"^0.1.5","@3-/utf8":"^0.0.4","lodash-es":"^4.17.21"}}
package/researchFmt.js CHANGED
@@ -25,7 +25,7 @@ export default async(chat, txt) => {
25
25
  ({title, question, zh, en, reason} = i);
26
26
  body = title + '\n研究命题: ' + question + '\n中文搜索词: ' + zh + '\n英文搜索词: ' + en;
27
27
  console.log('\n# ' + body);
28
- ({结论, 研究, 文献} = (await chat('请基于搜索,对以下命题深度研究:\n' + body, SEARCH, '利用搜索工具进行客观理性的研究分析', {
28
+ ({结论, 研究, 文献} = (await chat('请基于搜索(包括权威媒体、财报、论文等),对以下命题深度研究:\n' + body, SEARCH, '利用搜索工具进行客观理性的研究分析,以数据为支撑来推演', {
29
29
  tools: [
30
30
  {
31
31
  google_search: {}