This repository consists of a collection of Jupyter notebooks that leverage the power of OpenAI to perform detailed analysis on financial regulation texts. Gain valuable insights into complex regulatory frameworks with the help of cutting-edge AI technology.
Using the OpenAI Cookbook, some internet tutorials (Chat with a book, ChatGPT Chatbot for Your PDF Files and its video GPT-4 'Warren Buffett' financial analyst) I replicated some concepts and made python notebooks about them, and used the Markets in Financial Instruments Directive (MiFID) as reference document.
1. MiFID_local
Using FAISS, Pinecone and load_qa_chain.
Using OpenAI different types of query retrievals, following Sophia Yang tutorial.
Using OpenAI API, I translated the document to english and asked questions about it, then asked question using the original language (spanish).