@xuda.io/ai_module 1.1.4616 → 1.1.4618

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 +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -6408,7 +6408,7 @@ const attachment_handler = async function (uid, app_id, conversation_id, attachm
6408
6408
  }
6409
6409
 
6410
6410
  const fileStream = await get_drive_file_stream('user', app_id, uid, path.join('/', 'Chat Attachments', filename));
6411
- debugger;
6411
+
6412
6412
  let transcript;
6413
6413
  switch (validation_ret.category) {
6414
6414
  case 'audio':
@@ -6630,7 +6630,7 @@ export const get_profile_picture = async function (uid, account_type = 'business
6630
6630
  case 'personal': {
6631
6631
  prompt = `find "${name}" person profile image base on the following facts: "${JSON.stringify(metadata)}", Return only png,jpg image url single result e.g: "https://fb.com/person_image.png", nothing else`;
6632
6632
  factual_prompt = `analyze the the person info base on the name and the facts: {"name": "${name || ''}", facts: "${JSON.stringify(
6633
- facts,
6633
+ metadata,
6634
6634
  )}" and create realistic fictional profile picture transparent background ,person in the center of the picture add top margin the person should cover the whole picture`;
6635
6635
  originalname = normalizeFilename(name) + '_xu_profile.png';
6636
6636
  resize = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4616",
3
+ "version": "1.1.4618",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",