Basic Prompt Formatting
How the structure of a query shapes the quality and focus of a model's legal analysis.
A residential tenant has discovered that their landlord has been entering their unit without notice. Research causes of action and potential defenses.
Plain-Language Query
First, test a simple, unstructured version of the question and observe what the model returns:
A tenant in a residential apartment discovers that their landlord has been entering the unit without notice to conduct inspections.
Structured Legal Query
Now reframe the same question with legal structure — a complete fact pattern and a specific legal question:
A tenant in a residential apartment discovers that their landlord has been entering the unit without notice to conduct inspections. The lease is silent on entry procedures. What causes of action and defenses are available to the tenant under both common law and applicable statutory frameworks?