{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "deeplethe-utopia--answer-dated-contract-terms",
 "repo": "deeplethe/utopia",
 "repo_url": "https://github.com/deeplethe/utopia",
 "repo_slug": "deeplethe-utopia",
 "title": "Find which contract terms applied on a given date",
 "page_title": "How to find which contract terms applied on a given date with Utopia",
 "summary": "Load a master agreement and its amendments, then ask which terms were in force on a date, with the source sentence.",
 "who": "A legal or procurement analyst who must confirm which payment or party terms applied on a specific date across an agreement that was amended several times.",
 "problem": "Plain search returns passages without saying which amendment is current on a given day, so the analyst has to read the whole chain by hand.",
 "outcome": "The analyst gets the terms in force on the chosen date, the amendment they came from, and the sentence they rest on, with doubtful cases routed to Review.",
 "steps": [
  "Run `git clone https://github.com/deeplethe/utopia.git` and then `cd utopia`.",
  "Run `docker compose --profile app up -d` and open http://localhost:1516 to register; the first account becomes the administrator.",
  "Under Administration, go to Models and configure the chat and embedding endpoints before extracting business documents.",
  "Create a knowledge base, upload the agreement and its amendments as PDF or Word, and let extraction finish.",
  "Ask the chat which payment terms applied on the date you need and which parties were named, then open the citations to check the source passage."
 ],
 "agent_prompt": "Using the Utopia repo at <repo path>, help me load the agreement files at <folder> into a knowledge base and ask which payment terms applied on <date>. Expected output: the terms in force on that date, the amendment they came from, and the cited sentence. Verify that each cited sentence appears in the source document before reporting the answer.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "Answers depend on the chat and embedding models you configure, and the README says doubtful cases are left to a person in Review, so check the cited passages before relying on them.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "rust",
 "requirements": [
  "Docker installed (local development also needs Rust 1.85+, Node 20+, pnpm)",
  "A chat model endpoint and an embedding model endpoint, for example any OpenAI-compatible endpoint",
  "Business documents to ingest, such as PDF or Word contracts and amendments"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/deeplethe-utopia/answer-dated-contract-terms/",
 "md": "https://dedupedai.com/use-cases/deeplethe-utopia/answer-dated-contract-terms/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/deeplethe-utopia--answer-dated-contract-terms.json",
 "api_version": "v1"
}
