<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/answering-legal-questions-with-llms-ios5fwxut" -->

---
title: Answering Legal Questions with LLMs | daily.dev
description: Learn how to implement a system that can perform advanced reasoning over very long legal documents by using LLMs. Discover the process of breaking down a legal...
canonical: https://daily.dev/posts/answering-legal-questions-with-llms-ios5fwxut
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Answering Legal Questions with LLMs | daily.dev
og:description: Learn how to implement a system that can perform advanced reasoning over very long legal documents by using LLMs. Discover the process of breaking down a legal...
og:url: https://daily.dev/posts/answering-legal-questions-with-llms-ios5fwxut
og:image: https://api.daily.dev/og/posts/IoS5FWxut.png
og:image:alt: Answering Legal Questions with LLMs
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Answering Legal Questions with LLMs

**[Hacker News](https://daily.dev/sources/hn)** · 6 min read · 1 upvotes · 0 comments

## Summary

Learn how to implement a system that can perform advanced reasoning over very long legal documents by using LLMs. Discover the process of breaking down a legal question into subtasks, answering each subquestion independently, and aggregating the findings into a single response. Understand the limitations of using GPT-4 for legal questions and the potential for building a more accurate and relevant AI for PDFs app.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://hugodutka.com/posts/answering-legal-questions-with-llms/>

---

Tags: [#ai](https://daily.dev/tags/ai), [#llm](https://daily.dev/tags/llm), [#gpt](https://daily.dev/tags/gpt)

[View this post on daily.dev](https://daily.dev/posts/answering-legal-questions-with-llms-ios5fwxut)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Answering Legal Questions with LLMs","url":"https://daily.dev/posts/answering-legal-questions-with-llms-ios5fwxut","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/answering-legal-questions-with-llms-ios5fwxut"},"datePublished":"2024-04-29T14:41:52.698Z","dateModified":"2024-05-09T08:22:04.995Z","description":"Learn how to implement a system that can perform advanced reasoning over very long legal documents by using LLMs. Discover the process of breaking down a legal...","image":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","thumbnailUrl":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/answering-legal-questions-with-llms-ios5fwxut","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai,llm,gpt","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"Answering Legal Questions with LLMs"}]}
```

