Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

Β© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Tanzania-AI-Community/twiga-indabax-challenge

Domain:

natural language processing

Record type:

project
Creator:
Tan
Host:
# πŸš€ Twiga AI Challenge: Document Processing & RAG System ## 🎯 Overview This repository contains two interconnected challenges for building a complete document processing and RAG (Retrieval-Augmented Generation) system for academic research papers. ## πŸ“ What You'll Build This project is split into two main challenges: - **Document Parsing**: Convert academic PDFs into clean, structured markdown, preserving academic sections, citations, and logical hierarchy. This prepares your data for downstream AI tasks. - **RAG System**: Build a Retrieval-Augmented Generation (RAG) pipeline that uses your parsed documents to answer academic questions with accurate, cited responses. ## πŸ“ Project Structure ``` twiga-challenge-1/ β”œβ”€β”€ README.md # This file - Main overview β”œβ”€β”€ parsing-challenge/ # Challenge 1: Document Parsing β”‚ β”œβ”€β”€ README.md # Parsing challenge documentation β”‚ └── strategy1_llamaparse_direct.ipynb β”œβ”€β”€ rag-challenge/ # Challenge 2: RAG Implementation β”‚ β”œβ”€β”€ README.md # RAG challenge documentation β”‚ └── strategy1_chromadb_basic.ipynb RAG β”œβ”€β”€ data/ β”‚ β”œβ”€β”€ papers/ # Original PDF files β”‚ β”œβ”€β”€ input_papers/ # Parsed markdown files β”‚ └── vector_store/ # Vector database storage └── LICENSE ``` ## πŸ† Challenge Progression ### Phase 1: Document Parsing - **Notebook**: `parsing-challenge/strategy1_llamaparse_direct.ipynb` - **Goal**: Parse academic PDFs into structured markdown for RAG. ### Phase 2: RAG System - **Notebook**: `rag-challenge/strategy1_chromadb_basic.ipynb` - **Goal**: Build a RAG pipeline for question answering over your parsed documents. ## πŸ› οΈ Setup & Installation ### Prerequisites ```bash # Core dependencies pip3 install llama_parse pypdf together pydantic # RAG dependencies pip3 install chromadb sentence-transformers langchain openai pip3 install faiss-cpu numpy pandas matplotlib ``` ### API Keys Required Create a `.en …

Visit

github.com

Licenses

MIT