From 12dec26c3dd283b3c1580322e7b83f9af25a7ee9 Mon Sep 17 00:00:00 2001 From: robinrolle Date: Sun, 13 Apr 2025 02:07:00 +0200 Subject: [PATCH] add logic prompt --- services/advisor.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/services/advisor.py b/services/advisor.py index ebbc0ec..cddbdaf 100644 --- a/services/advisor.py +++ b/services/advisor.py @@ -93,10 +93,16 @@ class Advisor: Your task is to accept or reject the client's application for private banking. Only reject the application if there is an inconsistency in the data provided. + Inconsistencies include: - - Incorrect data (e.g., mismatched or invalid information) - - Incomplete data (e.g., missing required fields) + - Incorrect names used accros all docs, what is stated in one of the doc should be true on other documents. + - Check for typos + - Incorrect validity date passport or documents + - Wrong address, city, street name, zip code and country + - Only one domicile - Implausible or suspicious details + - Amounts in profile and the description file + - Incorrect nationality regarding the passport data Use the extracted profile, description, and account details to cross-check the information in the passport and other documents. Take into consideration that occupation history might be in the past not match the actual situation.