Cuong2004 commited on
Commit
addc239
·
1 Parent(s): a763afd

Update location description in triage route to include format example for user coordinates, enhancing clarity for users on input requirements.

Browse files
Files changed (1) hide show
  1. src/routes/triage.route.ts +3 -5
src/routes/triage.route.ts CHANGED
@@ -75,17 +75,15 @@ export async function triageRoutes(
75
  },
76
  location: {
77
  type: 'object',
78
- description: 'Vị trí của người dùng (tùy chọn, nhưng CẦN THIẾT để tìm bệnh viện gần nhất khi user hỏi "đi khám ở đâu" hoặc triage level là emergency/urgent). Sẽ được truyền vào MCP hospital tool nếu cần.',
79
  properties: {
80
  lat: {
81
  type: 'number',
82
- description: 'Vĩ độ (latitude)',
83
- example: 10.762622
84
  },
85
  lng: {
86
  type: 'number',
87
- description: 'Kinh độ (longitude)',
88
- example: 106.660172
89
  }
90
  }
91
  }
 
75
  },
76
  location: {
77
  type: 'object',
78
+ description: 'Vị trí của người dùng (tùy chọn, nhưng CẦN THIẾT để tìm bệnh viện gần nhất khi user hỏi "đi khám ở đâu" hoặc triage level là emergency/urgent). Sẽ được truyền vào MCP hospital tool nếu cần. Format: {"lat": 10.762622, "lng": 106.660172}',
79
  properties: {
80
  lat: {
81
  type: 'number',
82
+ description: 'Vĩ độ (latitude), ví dụ: 10.762622'
 
83
  },
84
  lng: {
85
  type: 'number',
86
+ description: 'Kinh độ (longitude), ví dụ: 106.660172'
 
87
  }
88
  }
89
  }