An Intelligent Conversational Agent for the Legal Domain

Flora Amato, Mattia Fonisto, Marco Giacalone, Carlo Sansone

Onderzoeksoutput: Articlepeer review

14 Downloads (Pure)


An intelligent conversational agent for the legal domain is an AI-powered system that can communicate with users in natural language and provide legal advice or assistance. In this paper, we present CREA2, an agent designed to process legal concepts and be able to guide users on legal matters. The conversational agent can help users navigate legal procedures, understand legal jargon, and provide recommendations for legal action. The agent can also give suggestions helpful in drafting legal documents, such as contracts, leases, and notices. Additionally, conversational agents can help reduce the workload of legal professionals by handling routine legal tasks. CREA2, in particular, will guide the user in resolving disputes between people residing within the European Union, proposing solutions in controversies between two or more people who are contending over assets in a divorce, an inheritance, or the division of a company. The conversational agent can later be accessed through various channels, including messaging platforms, websites, and mobile applications. This paper presents a retrieval system that evaluates the similarity between a user’s query and a given question. The system uses natural language processing (NLP) algorithms to interpret user input and associate responses by addressing the problem as a semantic search similar question retrieval. Although a common approach to question and answer (Q&A) retrieval is to create labelled Q&A pairs for training, we exploit an unsupervised information retrieval system in order to evaluate the similarity degree between a given query and a set of questions contained in the knowledge base. We used the recently proposed SBERT model for the evaluation of relevance. In the paper, we illustrate the effective design principles, the implemented details and the results of the conversational system and describe the experimental campaign carried out on it.
Originele taal-2English
Pagina's (van-tot)307-320
Aantal pagina's14
Nummer van het tijdschrift6
StatusPublished - jun 2023

Bibliografische nota

Funding Information:
This research was funded by the European Union grant number 101046629—CREA2. However, the views and opinions expressed are those of the author(s) only and do not necessarily reflect those of the European Union or the European Commission. Neither the European Union nor the granting authority can be held responsible for them.

Publisher Copyright:
© 2023 by the authors.

Copyright 2023 Elsevier B.V., All rights reserved.


Duik in de onderzoeksthema's van 'An Intelligent Conversational Agent for the Legal Domain'. Samen vormen ze een unieke vingerafdruk.

Citeer dit