@xuda.io/ai_module 1.1.5125 → 1.1.5126
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/index.mjs +5 -4
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4785,7 +4785,7 @@ setTimeout(async () => {
|
|
|
4785
4785
|
|
|
4786
4786
|
// await init_studio_units();
|
|
4787
4787
|
let ret;
|
|
4788
|
-
ret = await get_chat_suggestions(uid, [], 'coi_7b65b783af38b91c8ec4c499d3694bab');
|
|
4788
|
+
// ret = await get_chat_suggestions(uid, [], 'coi_7b65b783af38b91c8ec4c499d3694bab');
|
|
4789
4789
|
// ret = await get_active_account_profile_info(uid);
|
|
4790
4790
|
// ret = await is_spam_email(uid, 'dsgr8-2994400420@gigs.craigslist.org', 'To: You, From: Us - 70% Off Stickers & Labels Today Only');
|
|
4791
4791
|
// ret = await is_spam_email(uid, 'noreply@tm.openai.com', 'Please update your Plus payment method', account_profile_info);
|
|
@@ -10896,9 +10896,10 @@ export const get_chat_suggestions = async function (uid, ai_agents, conversation
|
|
|
10896
10896
|
return 5 agent names best fit from the ## agent list
|
|
10897
10897
|
considure the following parametes:
|
|
10898
10898
|
|
|
10899
|
-
1. the user
|
|
10900
|
-
2. the prompt
|
|
10901
|
-
3. the
|
|
10899
|
+
1. the ## user info::
|
|
10900
|
+
2. the ## user prompt
|
|
10901
|
+
3. the ## prompt category
|
|
10902
|
+
4. the ## prompt response
|
|
10902
10903
|
|
|
10903
10904
|
## user info:
|
|
10904
10905
|
${JSON.stringify(account_doc.account_info)}
|