
Offering memorandums (OMs) are lengthy financial documents about real-estate properties. Investors usually go through these documents before deciding whether to buy a property or not. The goal of this project was to build a chatbot that can instantly answer complex questions from OMs, making it dramatically easier for investors to find relevant, critical information for due diligence.
We built a chatbot using GPT 3.5 and LangChains. This is a breakdown of our RAG (Retrieval-Augmented Generation) approach:
The first step is to extract all text from the OM (which is a PDF document). Since an OM can contain normal text, images, figures, and tables, we need to handle all of these differently. We use an AI-based page-layout understanding module to identify tables, images, paragraphs, etc., separately and then extract text from them, preserving context.
Once the text is extracted, it is broken down into semantic chunks and stored into Pinecone vector databases.
When a user enters a query (e.g., 'what is the projected rent of this property'), we use LangChains to identify the most relevant chunks in the vector database that may contain the answer.
This highly relevant 'context' is then fed to GPT, which uses the source data to answer the user's query with grounding.
Our prompts for GPT are specifically designed to restrict the model's answers only to the provided context, ensuring the chatbot does not hallucinate and gives accurate and reliable answers.
Our AI model achieved:



See how we built a custom RAG chatbot to analyze Offering Memorandums. Reduce investor research time and eliminate LLM hallucinations.


See how AxcelerateAI used custom Deep Learning to automate private aircraft charter requests, achieving 98% accuracy & saving dozens of hours weekly.


See how our custom Computer Vision models provide real-time soccer analytics, including player tracking, re-ID, and event detection.
