@3-/aiapi 0.1.89 → 0.1.90
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/package.json +1 -1
- package/researchFmt.js +1 -1
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@3-/aiapi","version":"0.1.
|
|
1
|
+
{"name":"@3-/aiapi","version":"0.1.90","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.3","@3-/sleep":"^0.0.4","@3-/txt_li":"^0.1.6","@3-/utf8":"^0.0.4","@tron-format/tron":"^0.1.3","lodash-es":"^4.17.23"}}
|
package/researchFmt.js
CHANGED
|
@@ -24,7 +24,7 @@ export default async(chat, txt) => {
|
|
|
24
24
|
// console.log i
|
|
25
25
|
({title, question, zh, en, src, reason} = i);
|
|
26
26
|
body = title + '\n研究命题: ' + question + '\n中文搜索词: ' + zh + '\n英文搜索词: ' + en;
|
|
27
|
-
console.log('
|
|
27
|
+
console.log('🔍', question);
|
|
28
28
|
({结论, 研究, 文献, 分} = (await chat('请基于搜索(包括权威媒体、财报、论文等),对以下命题深度研究:\n' + body, SEARCH, '利用搜索工具进行客观理性的研究分析,以数据为支撑来推演', {
|
|
29
29
|
tools: [
|
|
30
30
|
{
|