dfbe47ef28
READY: Refactor/prompt refactor * Prompt refactor * refactor imports * Prompt refactor * Import refactor * Remove excess prompts from investment_prompts.py Approved-by: Alex Galarce
21 lines
1004 B
Python
21 lines
1004 B
Python
|
|
from src.constants import valid
|
|
|
|
|
|
def LOB_SWEEPER(exhibit):
|
|
return f"""Exhibit Name: {exhibit}
|
|
|
|
Based on the above Exhibit Name, which one or more of the following LOB values does the Exhibit refer to? Only choose LOBs that are explicitely written in the Exhibit.
|
|
|
|
Valid LOBs: {valid.VALID_LOBS}
|
|
|
|
Return ONLY the LOB, with no additional commentary or explanation. If there are no LOBs written, simply write 'N/A'.
|
|
"""
|
|
|
|
|
|
def AC_EFFECTIVE_DATE_CLEANUP(contract_text):
|
|
return f"""### Contract Start ### {contract_text} ### Contract End ###
|
|
Above is a contract. What is the contract effective date mentioned in any of the following locations: the signatory section, the preamble of the agreement, or the start of the amendment? Look for phrases such as /'This amendment is effective/'.
|
|
If there is no clear effective date, return the date from the signature page.
|
|
Return the date converted to YYYY-MM-DD format, with no other commentary or explanation. If there is no date, simply return 'N/A'."""
|