@@ -266,27 +349,14 @@ export class AIAssistantService {
};
}
const systemInstruction = [
'You are a professional financial assistant specializing in foreign exchange rates and currency markets.',
'Provide the most accurate, realistic real-time or prevailing market exchange rate for the requested currency pair.',
'Rate must represent: 1 unit of base currency [from] = how many units of target currency [to].',
'For example: 1 USD to VND is approximately 25,400, so rate is 25400. 1 VND to USD is approximately 0.000039.',
'Return a positive number for rate. Keep note concise (under 200 chars), explaining the approximate reference market/date or rate source in Vietnamese.',