A Prompt Engineering Approach and a Knowledge Graph based Framework for Tackling Legal Implications of Large Language Model Answers
Hannah, George, Sousa, Rita T., Dasoulas, Ioannis, d'Amato, Claudia
–arXiv.org Artificial Intelligence
With the recent surge in popularity of Large Language Models (LLMs), there is the rising risk of users blindly trusting the information in the response, even in cases where the LLM recommends actions that have potential legal implications and this may put the user in danger. We provide an empirical analysis on multiple existing LLMs showing the urgency of the problem. Hence, we propose a short-term solution consisting in an approach for isolating these legal issues through prompt re-engineering. We further analyse the outcomes but also the limitations of the prompt engineering based approach and we highlight the need of additional resources for fully solving the problem We also propose a framework powered by a legal knowledge graph (KG) to generate legal citations for these legal issues, enriching the response of the LLM.
arXiv.org Artificial Intelligence
Oct-19-2024
- Country:
- North America > United States
- New York > New York County
- New York City (0.04)
- California > Santa Clara County
- Palo Alto (0.04)
- New York > New York County
- Europe
- Italy (0.04)
- Germany > Baden-Württemberg (0.04)
- Austria (0.04)
- United Kingdom
- Belgium > Flanders
- Flemish Brabant > Leuven (0.04)
- Africa > Middle East
- Egypt (0.04)
- North America > United States
- Genre:
- Research Report (0.40)
- Industry:
- Law (1.00)
- Technology: