This code implements a Gradio chat application that integrates with OpenAI models for the chat functionality, with special handling for ABCD tasks.
Main Features
- General Chat: Use OpenAI's GPT to handle normal conversation.
- Task Checking: When users mention "check ABCD tasks" (or similar phrases), the app calls the abcd_taskTool() function.
- Account Number Masking: Masks the first four digits of account number with "XXXX".
- Task Display: in HTML table.
- Support Notification: Offers to notify support team and calls abcd_NotifyTool() if user confirms.
- Cheerful Responses: Provides rando encouraging messages when no tasks are found.

