@xuda.io/ai_module 1.1.3653 → 1.1.3655

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 +9 -5
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2322,8 +2322,9 @@ export const get_ai_agents = async function (req, job_id, headers) {
2322
2322
  if (_id) {
2323
2323
  let doc_ret = await get_ai_doc({ _id, uid });
2324
2324
  doc_ret.data._id = _id;
2325
- const doc = await get_ai_agent_info(uid, job_id, headers, doc_ret.data);
2326
- return doc;
2325
+ // const doc = await get_ai_agent_info(uid, job_id, headers, doc_ret.data);
2326
+ // return doc;
2327
+ return doc_ret;
2327
2328
  }
2328
2329
 
2329
2330
  ///////////////
@@ -5512,9 +5513,12 @@ export const convert_profile_image_to_avatar = async function (req, job_id, head
5512
5513
  prompt: `
5513
5514
  Create a transparent PNG profile image for a business account featuring building branded as ${business_name}.
5514
5515
  Display the attached logo clearly as prominent exterior signage.
5515
- Show ${
5516
- obj?.[account_obj.membership_plan]?.employees || obj.free.employees
5517
- } in front of the building/premises. The building’s architecture and overall atmosphere should reflect the nature of the business, aligning with ${mainCategory} and ${subCategory}. Use the provided bio (${bio}) to understand the company’s focus and personality, and adapt the architectural style to match the ${country} country’s local design language. Select an appropriate building type for the specific business category, and present a contemporary, creative office environment with a strong, recognizable brand identity.
5516
+ Show ${obj?.[account_obj.membership_plan]?.employees || obj.free.employees} in front of the building/premises.
5517
+ show ${obj?.[account_obj.membership_plan]?.building_size || obj.free.building_size}
5518
+ The building’s architecture and overall atmosphere should reflect the nature of the business,
5519
+ aligning with ${mainCategory} and ${subCategory}.
5520
+
5521
+ Use the provided bio (${bio}) to understand the company’s focus and personality, and adapt the architectural style to match the ${country} country’s local design language. Select an appropriate building type for the specific business category, and present a contemporary, creative office environment with a strong, recognizable brand identity.
5518
5522
  The background should be fully removed, remove trees,clouds,sky or any landscape objects`,
5519
5523
  background: 'transparent',
5520
5524
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3653",
3
+ "version": "1.1.3655",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",