1. Learn
  2. /
  3. Courses
  4. /
  5. Working with DeepSeek in Python

Connected

Exercise

Analyzing legal contracts with reasoning models

Reasoning models aren't only good with math and code, they are equally proficient at reasoning with text. This opens the door for interpreting and analyzing legal documents, which are often long and difficult to understand.

You've been provided with a simple, one-sentence legal contract, and a situation to determine whether an employee is in breach of contract.

This is a very simplified version of a legal document for speed of demonstration, but the concept scales to larger documents.

Always consult with legal or information security teams before using AI with confidential documents.

Instructions

100 XP
  • Add the Task, Contract, and Situation delimiters to the prompt.