Get Colombian peso to USD exchange rate with Telegram bot and AI date recognition
π Request TRM (Colombian Peso to US Dollar exchange rate) π― Objective Retrieve the TRM (Colombian Peso to US Dollar exchange rate) for a specific date provided by the user via Telegram. π Summary Flow 1. π¨ Telegra...
Template notes
π Request TRM (Colombian Peso to US Dollar exchange rate)
π― Objective
Retrieve the TRM (Colombian Peso to US Dollar exchange rate) for a specific date provided by the user via Telegram.
π Summary Flow
1. π¨ Telegram Message The user sends a text or audio message to the Telegram Bot.
2. π§ Date Extraction AI (OpenAI) is used to identify the date in YYYY-MM-DD format.
3. π Validation If the date is in the future, the user is notified that it is not valid.
4. π‘ TRM Query The bot queries the open data API from the Colombian government.