This project uses Retrieval Augmented Generation (RAG) based on GPT-3.5 to summarize "THE TOP 6 INTERIOR DESIGN TRENDS" by FEATHR. The aim is to provide a detailed and accurate analysis of the key interior design trends while enhancing content depth and accuracy through RAG.
To analyze and summarize key interior design trends, enhancing content depth and accuracy through RAG.
The data for this project consists of a comprehensive report on "THE TOP 6 INTERIOR DESIGN TRENDS" by FEATHR. This report is in PDF format and contains detailed descriptions and analyses of prevailing interior design trends.
- Text Extraction: Extract text from the PDF using
pdfplumber
. - Preprocessing: Chunk and preprocess text for analysis.
- Data Storage: Store preprocessed data in CrateDB for efficient retrieval.
- RAG Integration: Augment GPT-3.5 with data retrieval for enriched analysis.
- Insight Generation: Generate summaries of interior design trends.
The project uses GPT-3.5, enhanced with RAG, to improve the relevance and detail of generated summaries by incorporating specific data from the trends report.
- Without RAG: Baseline setup with GPT-3.5 provided initial insights but lacked specific trend details.
- With RAG: The addition of RAG improved the summaries' depth and relevance.
RAG's integration with GPT-3.5 offers significant benefits for generating detailed and contextually relevant content, showcasing its potential in specialized domains like interior design.
Inspiration, code snippets, etc.
https://github.com/architkaila/Chat-With-Documents
pip install -r requirements.txt
streamlit run app.py
Note: Please ensure that you have the required API keys and access to the CrateDB instance for the complete functionality of the application, and update the environment variables accordingly.