Create chatbot to assist lawyers based on uploading the law file (Saudi law)

Hello,
i have a case that i have all the Saudi law as (pdf, txt)
i need to upload the whole law files and by the time i will have to upload cases

what i want to ask i want the best approach to achieve this

Use Case

CASE 1

The Lawyer will ask about specific law and the chatbot must answer it very accurate cuz we are talking about law

CASE 2

the lawyer will give the chatbot case (txt, pdf) and the chatbot must answer with the laws that the lawyer will look about and must be true

CASE 3

the lawyer will send file of the case
and the chatbot give him judgment based on the law and other similar case
and also show him the source that he use

all the cases are very sensitive since the data is law data

so what i need i need help and guide to achieve this

i already try vector story and embedding but the answers not accurate

i believe i miss something and looking for ur assistant

thank u

1 Like

Hi there, this can be tricky since we are talking about laws in general. I am not a ML or NLP engineer; I am a software engineer who have already worked on something similar but for french real estate law; something less critical I guess. we did something simple; we’ve built an assistant api ; we gave it data as PDFs and we achieved a connection to it from Nodejs server.

1 Like