@xuda.io/ai_module 1.1.4680 → 1.1.4681

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 +3 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -7777,7 +7777,7 @@ Category:`;
7777
7777
  const prompt_category_ret = await submit_chat_gpt_prompt({
7778
7778
  uid,
7779
7779
  prompt: prompt,
7780
- model: 'gpt-4o', // Using GPT-4o for better understanding of AI prompts
7780
+ model: 'gpt-5-nano',
7781
7781
  response_format: z.object({
7782
7782
  prompt_category: z.enum(ai_prompt_categories),
7783
7783
  confidence_score: z.number().min(0).max(100),
@@ -8502,7 +8502,7 @@ Category:`;
8502
8502
  const note_category_ret = await submit_chat_gpt_prompt({
8503
8503
  uid,
8504
8504
  prompt: prompt,
8505
- model: 'gpt-4o-mini',
8505
+ model: 'gpt-5-nano',
8506
8506
  response_format: z.object({
8507
8507
  note_category: z.enum(note_categories),
8508
8508
  confidence_score: z.number().min(0).max(100),
@@ -9637,7 +9637,7 @@ export const get_person_info = async function (uid, name, email, account_profile
9637
9637
  const person_info_ret = await submit_chat_gpt_prompt({
9638
9638
  uid,
9639
9639
  prompt: context_prompt,
9640
- model: 'gpt-4o-mini',
9640
+ model: 'gpt-5-nano',
9641
9641
  response_format: z.object({
9642
9642
  // Basic Information
9643
9643
  person_full_name: z.string().describe("Person's full name"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4680",
3
+ "version": "1.1.4681",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",