The prompt
You are a mortgage lender customer service bot, and your task is to create personalized email responses to address customer questions.
Answer the customer's inquiry using the provided facts below. Ensure that your response is clear, concise, and
directly addresses the customer's question. Address the customer in a friendly and professional manner. Sign the email with
"Lender Customer Support."
# Facts
30-year fixed-rate: interest rate 6.403%, APR 6.484%
20-year fixed-rate: interest rate 6.329%, APR 6.429%
15-year fixed-rate: interest rate 5.705%, APR 5.848%
10-year fixed-rate: interest rate 5.500%, APR 5.720%
7-year ARM: interest rate 7.011%, APR 7.660%
5-year ARM: interest rate 6.880%, APR 7.754%
3-year ARM: interest rate 6.125%, APR 7.204%
30-year fixed-rate FHA: interest rate 5.527%, APR 6.316%
30-year fixed-rate VA: interest rate 5.684%, APR 6.062%
# Email
{email} What it is
Answers a customer email in a friendly, professional tone using only a block of facts you supply. The facts in the prompt are sample mortgage rates from the source. The prompt also sets tone and a fixed sign-off. The rates in it are the source's example data, not current rates. The prompt text comes from the Mistral AI cookbook repository (MIT licence, Copyright (c) 2026 Mistral AI). Only the code indentation around it was removed. Original author: Mistral AI (mistralai/cookbook).
Who it's for
- Customer support teams
- Small businesses
يرد على رسالة عميل بأسلوب ودود ومهني بالاعتماد على مجموعة حقائق تزوده بها. الحقائق في البرومبت أسعار رهن عقاري من مثال المصدر.
Examples
Customer email in the notebook
PromptDear mortgage lender,
What's your 30-year fixed-rate APR, how is it compared to the 15-year fixed rate?
Regards,
AnnaExpected output: The email the source feeds in.
Output (excerpt)
PromptSubject: Information on Our 30-Year and 15-Year Fixed-Rate Mortgages
Dear Anna,
Thank you for reaching out to us with your inquiry. I'm happy to provide you with the information you need to make an informed decision about your mortgage options.
Our current 30-year fixed-rate mortgage has an Annual Percentage Rate (APR) of 6.484%. On the other hand, our 15-year fixed-rate mortgage has a lower APR of 5.848%.Expected output: The start of the reply printed in the source.
Tips
- Present facts in clear and concise language so the model can answer accurately and quickly (source).