How kira0987/due_diligence_crypto_pga_4ds6_project works
Project type and purpose
• This is a full-stack Python project focused on “crypto due diligence” for risk prevention and advisory. It ingests PDF documents, extracts and vectorizes their contents, applies ML models for risk analysis, generates reports (PowerPoint), and exposes a Django-based web UI with an integrated chatbot.
File structure
• Top level:
• README.md (project overview)
• crypto_due_diligence/ (code folder)
• Inside crypto_due_diligence/:
• app.py and main.py – entry points for the web server or CLI
• modules/ – reusable components:
– pdf_text_extractor.py (raw text)
– pdf_feature_extractor.py (features for ML)
– text_cleaning.py and text_chunker.py (preprocessing pipeline)
– vector_database.py (indexing embeddings)
• test_pdfs/ and uploaded_pdfs/ – sample inputs and extracted outputs (text, chunks, embeddings, analysis JSON)
• requirements.txt – runtime dependencies
• pdf_processor.log – logging of ingestion pipeline
• No explicit Django project folder is shown here; assume that app.py or main.py starts the Django server or API layer.
README for additional insights
• Describes ML and generative AI models for risk analysis
• Mentions a Django‐based web platform + chatbot for user interaction
• Highlights PPT generation and a crypto portfolio database component
Elements
• Web/UI components (e.g., blue rectangles)
• Processing pipeline modules (e.g., green)
Detail is key
• Don’t hesitate to break out sub-components (e.g., separate chunker from cleaner).