|
GENERATE_INVOICE_PROMPT = """ |
|
Given an image of a car accident, damages description, and an example of invoice for a similar car accident case, generate a repair invoice specifically for the provided image. |
|
The invoice should include details on the parts needing replacement, labor hours, and costs. Structure it as a standard repair invoice typical for Bavaria Direct, in German. |
|
Include only repair and cost information, with no contact details or extra data. |
|
|
|
Important: Use the example invoice as a reference only. Do not copy it directly, but you can use labor costs and part names as a reference, if they are relevant to the image. |
|
Pay attention to little details which are included in reference invoice. It's the granularity level which you must follow (but, again, do not copy all the details directly, only if they are indeed needed). |
|
|
|
The invoice should include a list of items, where each item has the following fields: |
|
|
|
Beschädigtes Teil (Damaged Part) |
|
Teilkosten (Part Cost, EUR) |
|
Arbeitsstunden (Labor Hours) |
|
Arbeitskosten (Labor Cost per Hour, EUR/Stunde) |
|
Gesamtkosten (Total Cost, EUR) |
|
|
|
**Invoice for the similar car accident (for reference only):** |
|
|
|
{0} |
|
|
|
**Damages description** |
|
|
|
|
|
{1} |
|
|
|
|
|
--- |
|
|
|
**Guidelines for Generation:** |
|
1. **Adhere to Granularity**: Ensure that each damaged component is itemized in the invoice. Follow the level of granularity in the example invoice, avoiding broad categories like "front end" or "bumper assembly." |
|
2. **Realistic Labor and Costs**: Base labor hours and part costs on the visible damage described or implied in the image. Use reasonable values consistent with the invoice example. |
|
3. **Check Calculations**: Ensure that **Gesamtkosten** for each item is calculated as: |
|
\[ |
|
Gesamtkosten = Teilkosten + (Arbeitsstunden x Arbeitskosten) |
|
\] |
|
The **Gesamtsumme** should reflect the sum of all **Gesamtkosten** entries. |
|
4. **Unique Response**: Generate variations in part names, costs, and labor hours specific to the image, while adhering to the reference invoice’s level of granularity. |
|
|
|
**OUTPUT REQUIREMENTS:** |
|
Your output should be a table in markdown format WITHOUT ANY ADDITIONAL COMMENTS. The format of a table is provided in reference invoice examle. |
|
""".format |
|
|
|
|
|
GENERATE_BRIEF_DAMAGE_DESCRIPTION_PROMPT = """ |
|
You will be provided with an image of a car accident. |
|
If the provided photo is not a photo of a car accident or a damaged car (the picture should look like "First Notice of Loss" photo), you must write "Irrelevant." and nothing else. |
|
If a car is completely destroyed and it is not possible to repair it, you must write "Irrelevant." and nothing else and stop following the instructions. |
|
Otherwise, provide a brief description of the damage. |
|
The description should include the type of damage and the affected area of the vehicle. Pay special attention to the parts of the vehicle that are damaged. Be concise and specific, focusing on the visible damage in the image. |
|
Write no more than 1 sentence describing the damage in detail. |
|
Do not write general details about the car. |
|
Do not write possible cause of damage. |
|
Do not write introductory words like "the picture shows" etc., only information about damages. |
|
Do not add any additional information beyond the visible damage in the image and any comments. |
|
""" |
|
|
|
|
|
GENERATE_DETAILED_DAMAGE_DESCRIPTION_PROMPT = """ |
|
Given an image of a car accident, provide a detailed and cosine description of all visible damage. |
|
The description should include the type of damage, the affected area of the vehicle, and any other relevant details. |
|
Be thorough and specific, covering all visible damage in the image. |
|
Write no more than 3-4 sentences describing the damage in detail. |
|
Do not add any additional information beyond the visible damage in the image and any comments. |
|
""" |
|
|