Sorry I am a bit of a novice and not a programmer.i have 2gb in pst files of emails from residents of a residential block of flats, where there is a dispute being heard by a first tier tribunal in the uk around legitimacy of service charges. I know chat gpt can understand the law around this, so I need a tool to read all the history and guide me on the matters contested to provide me legal answers to if the case against the management company is reasonable , true or not. How do I get ChatGPT or similar to read the emails in its entirety and me ask questions based on its knowledge of the law?
I think you need a Python script to do following steps:
- Load data with emails
- Iterate over each email
- Send email body and question to ChatGPT using Python API
- You can legal background as context for ChatGPT.