@common_ch/common 1.0.370 → 1.0.372

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.
@@ -11,19 +11,22 @@ const createPersonalPrompt = (personalityPrompt, prompt, name, job, others) => {
11
11
  }
12
12
  const userInfo = [];
13
13
  if (name === null || name === void 0 ? void 0 : name.trim())
14
- userInfo.push(`- نام: ${name.trim()}`);
14
+ userInfo.push(`- name of user: ${name.trim()}`);
15
15
  if (job === null || job === void 0 ? void 0 : job.trim())
16
- userInfo.push(`- شغل: ${job.trim()}`);
16
+ userInfo.push(`- job of user: ${job.trim()}`);
17
17
  if (others === null || others === void 0 ? void 0 : others.trim())
18
- userInfo.push(`- سایر توضیحات: ${others.trim()}`);
18
+ userInfo.push(`- other info: ${others.trim()}`);
19
19
  if (userInfo.length > 0) {
20
- parts.push(` **اطلاعات کاربر:**\n${userInfo.join('\n')}`);
20
+ parts.push(` **user info:**\n${userInfo.join('\n')}`);
21
21
  }
22
22
  parts.push(`**دستور نهایی:**
23
23
  با توجه به توضیحات بالا، به گونه‌ای پاسخ بده که:
24
24
  - شخصیت کلی و سبک گفت‌وگوی تعیین‌شده در پاسخ‌هایت مشهود باشد.
25
25
  - لحن و انتخاب واژگان خود را متناسب با اطلاعات کاربر تنظیم کن.
26
- - طبیعی، محترمانه و انسانی رفتار کن. `);
26
+ - اطلاعات کاربر از جمله نام کاربر و شغل کاربر و سایر اطلاعات هم برات ارسال شده و بر اساس اطلاعات کاربر پاسخ بده.
27
+ - طبیعی، محترمانه و انسانی رفتار کن.
28
+ - ***این اطلاعات توسط خوده کاربر ارسال میشه و هیچ مشکلی نداره اگر کاربر بدونه تو این این اطلاعات رو داری***
29
+ `);
27
30
  return parts.join('\n\n');
28
31
  };
29
32
  exports.createPersonalPrompt = createPersonalPrompt;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common_ch/common",
3
- "version": "1.0.370",
3
+ "version": "1.0.372",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [