Hi everyone, this is my first post.
We are using text-embedding-ada-002 for a PoC in which we define a set of business rules to evaluate the information coming from company documents, to run a background check and get a recommendation if a loan should be approved or not.
At first, we define a very detailed text containing the business rules to evaluate these documents, which fields to read, and validations to recommend a Yes or No, and if it is No, to list the reasons why not (with detailed references from the document provided), and this is transformed into an embedding.
For this v1, we are extracting the information from the PDF reports manually and providing it in a text format. So far I can see its recommendation is consistent (Yes or No), but the output format of the answer (when it elaborates on why No) varies between each execution, providing the exact same embedding and the exact same question and report data (not a single comma or character changed).
Here are some examples of its responses. As you can see, sometimes it omits some details, or presents them in different formats, and so on. What could be wrong? In the prompt I specify that I want it to elaborate with information from the document, and to list all the reasons why No.
Based on the information provided in the CLEAR Report, I recommend not granting a loan to the business. The reasons for this recommendation are as follows:
1. Criminal History:
- The owner, Juan Perez, has a misdemeanor conviction with a disposition of "GUILTY" for an offense that occurred on 01/01/2000. This falls within the past 3 years of today's date, which disqualifies the business from receiving a loan.
2. Bankruptcy:
- The business has a bankruptcy record with a filing date of 01/01/2000, and the discharge date is also 01/01/2000. Although the discharge date is not within the past 3 years, the presence of a bankruptcy record is a disqualifying factor.
No, a loan request should not be approved.
Reasons:
- The business has a misdemeanor conviction, with a "Date of Crime" within the past 3 years of today's date. The offense details are as follows:
- Offense 1
- COURT & TRIAL INFORMATION
Case number: 12345
Charges Filling Date: 01/01/2000
Case Status: CLOSED
Statute Violated: SOMETHING
Case Type: CITATION
Initial Criminal Offense: NOT SPECIFIED
Class/Severity of Crime: MISDEMEANOR
Date of Crime: 01/01/2000
Offense Location: ORANGE
Disposition/Judgment Date: 01/01/2000
Disposition of Findings: GUILTY
County Jurisdiction: ORANGE
Plea: GUILTY
- The business has filed for bankruptcy, with a "Discharge Date" within the past 3 years. The bankruptcy details are as follows:
- RECORD 1
FILING TYPE: BANKRUPTCY
FILING DATE: 01/01/2000
- CASE INFORMATION
Case Type: BANKRUPTCY
Discharge Date: 01/01/2000
- DEBTOR INFORMATION
Debtor Name: juan perez
Based on the information provided in the CLEAR Report, I recommend not granting a loan to the business. The reasons for this recommendation are as follows:
1. Criminal History:
- The owner, Juan Perez, has a misdemeanor conviction with a disposition of "GUILTY" for an offense that occurred on 01/01/2000. This falls within the past 3 years of today's date, which disqualifies the business from loan approval.
2. Bankruptcy:
- The business has a bankruptcy record with a filing date of 01/01/2000, and the debtor information matches the owner's name, Juan Perez. This indicates that the business has been in bankruptcy, which is an automatic disqualification for loan approval.
Based on the above reasons, the loan request should not be approved for the business "Some Pizzeria name."