@xuda.io/ai_module 1.1.5249 → 1.1.5251

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.
Files changed (2) hide show
  1. package/index.mjs +4 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -11111,6 +11111,8 @@ export const get_chat_suggestions = async function (req) {
11111
11111
  agents: z.array(AgentItemSchema).max(no_of_suggestions),
11112
11112
  });
11113
11113
  //${conversation_item_doc.text}
11114
+ // Prompt Category: ${conversation_doc?.category_info?.category}
11115
+ // Input: ${conversation_item_doc.prompt || conversation_doc.prompt}
11114
11116
  const chat_ret = await submit_chat_gpt_prompt({
11115
11117
  uid,
11116
11118
  prompt: `
@@ -11131,11 +11133,11 @@ export const get_chat_suggestions = async function (req) {
11131
11133
 
11132
11134
  User Profile: ${JSON.stringify(account_doc.account_info)}
11133
11135
 
11134
- Prompt Category: ${conversation_doc?.category_info?.category}
11136
+
11135
11137
 
11136
11138
  Current State:
11137
11139
 
11138
- Input: ${conversation_item_doc.prompt || conversation_doc.prompt}
11140
+
11139
11141
 
11140
11142
  Output to Process: ${context ? context : 'Use the previous response output as the content to analyze for next agents.'}
11141
11143
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5249",
3
+ "version": "1.1.5251",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",