/

African traditional medicine encompasses centuries of plant-based healing knowledge scattered across thousands of unstructured research documents — largely inaccessible without manual literature review. Omdena partnered with a US-based drug discovery startup to build two proof-of-concept systems: a retrieval-augmented generation platform to make this literature queryable, and an AlphaFold API for protein structure prediction. The project delivered a working RAG system indexed on 1,000+ scientific documents and a functioning AlphaFold API, forming the AI integration stage of the client’s discovery platform.
| Outcome | Detail |
| Documents ingested | 1,000+ scientific papers and research articles on African traditional medicine |
| Pipeline stages | PDF extraction, NLP preprocessing, FAISS vector indexing, RAG generation, QA formatting |
| RAG model | Hugging Face RAG (BART/T5 with Dense Passage Retrieval) |
| Vector search | FAISS (Facebook AI Similarity Search) |
| Embedding model | SentenceTransformer for dense vector representation |
African traditional medicine was one of the most extensive repositories of plant-based healing knowledge on the planet. Across the continent, remedies, compounds, and treatments passed down through oral traditions and documented in research literature represented a potential resource for affordable drug development, particularly for neglected and tropical diseases that received limited pharmaceutical investment.
The client’s challenge was foundational: this knowledge did not exist in a queryable form. Research on African traditional medicine was scattered across thousands of PDFs, and practitioners could not retrieve relevant evidence without conducting manual literature reviews across hundreds of documents. Building a drug discovery platform required solving the knowledge access problem first.
Beyond knowledge retrieval, the client needed a computational tool to model the molecular structures of traditional compounds, a prerequisite for simulating how plant-based molecules could be combined to discover potential new treatments. No existing tool connected African traditional medicine research to compound structure modeling at this scale, making protein structure prediction a second foundational challenge.
Omdena partnered with the client, a technology company building an AI-powered discovery platform for African traditional medicine. The client’s broader mission encompassed digitizing traditional medical knowledge from community sources, including oral histories, handwritten notes, voice recordings, and field observations, and using AI to identify plant-based compounds and simulate how they could be combined to discover new treatments for neglected and tropical diseases.
Omdena contributed the AI development team to build two proof-of-concept systems: the RAG knowledge retrieval pipeline and the AlphaFold protein structure prediction API, together forming the AI integration layer of the platform. The PoC focused on the scientific literature corpus: over 1,000 research papers collected to seed the knowledge base before community-sourced data collection was integrated.

The pipeline ingested over 1,000 scientific PDFs using pdfplumber, which handled varied document layouts and extracted text while preserving structural information such as section headers and paragraph boundaries. Documents were processed from a zip archive, and raw text was passed to the NLP preprocessing stage. Inconsistent encoding and layout variation across papers from multiple publishers was the primary challenge.
Extracted text was preprocessed using NLTK. The pipeline applied tokenization to segment text into discrete units, removed stopwords carrying no retrieval signal, and applied lemmatization to normalize term variants to root forms. This step was critical to retrieval quality: noisy extraction output produced degraded vector embeddings, and preprocessing quality had a greater effect on retrieval performance than tuning the retrieval model.
Preprocessed text was encoded into dense vectors using SentenceTransformer and indexed with FAISS (Facebook AI Similarity Search). FAISS enabled millisecond-scale similarity search across the document corpus by comparing query embeddings against stored vectors. Dense Passage Retrieval (DPR) was used alongside FAISS to retrieve the most semantically relevant passages — enabling meaning-level retrieval beyond keyword matching.
Retrieved documents were passed to the Hugging Face RAG model, which combined BART/T5 generation with retrieved context. The model was conditioned on retrieved passages rather than parametric knowledge alone, grounding every response in actual documents. This architecture reduced the risk of generating claims not traceable to the underlying literature, which mattered when outputs might inform drug discovery decisions.
The final stage managed the complete QA pipeline using Hugging Face Transformers and the OpenAI API to format and deliver answers to the user. The output layer structured generated responses for readability and ensured that the final answer remained traceable to the retrieved source documents that grounded it.

Alongside the RAG system, the project built a parallel AlphaFold proof-of-concept for protein structure prediction. FastAPI endpoints accepted protein sequences, Pydantic-validated pipelines processed them, and ColabFold with Mamba and PDBFixer ran structure prediction with optional Amber relaxation. Results were saved as PDB files and served through a Uvicorn web interface — establishing the compound structure modeling layer of the client’s discovery platform.
The project delivered two parallel proof-of-concept systems: a functioning end-to-end RAG pipeline indexed on over 1,000 scientific papers, and an AlphaFold protein structure prediction API built with FastAPI, ColabFold, and Mamba. Together they formed the AI integration layer of the client’s discovery platform, connecting knowledge retrieval from traditional medicine literature to computational compound structure modeling.

Both systems demonstrated that the RAG and AlphaFold architectures were viable for traditional medicine applications and established the technical foundation for the client’s broader discovery platform. Every component of both pipelines was built, documented, and demonstrated end-to-end: PDF extraction through RAG generation for the knowledge system, and sequence input through PDB file output for the AlphaFold system.
Before the project, accessing the body of research on African traditional medicine required manual search across hundreds of individual PDF documents, a process that could take hours for a single research question. The proof of concept demonstrated that a conversational query interface could surface relevant evidence from over 1,000 papers in seconds, with each answer traceable to the source documents that grounded it.
The two systems together established the AI integration stage of the client’s seven-stage AI Discovery Platform, which aimed to digitize traditional medicine knowledge from community sources, including oral histories, voice recordings, and field observations, through to drug discovery and development for neglected and tropical diseases. Both PoCs demonstrated that this stage of the platform was technically feasible before committing to production implementation.
For communities whose traditional knowledge fed into the platform, the longer-term model anticipated that pipeline profits would return to communities via NGOs, supporting infrastructure, education, and economic development alongside healthcare innovation for the diseases that affected them most.
The FAISS and DPR retrieval components performed well only when input text was clean and consistently normalized. Less thorough NLTK preprocessing produced degraded embeddings and lower-quality retrieval results. Investing time in tokenization, stopword removal, and lemmatization had a greater effect on system quality than tuning the retrieval model — a result that applied broadly to RAG systems across domains.
A language model trained on general corpora could generate fluent responses about plant compounds and traditional remedies — but those responses might not correspond to anything in the actual literature. For a system that might inform drug discovery decisions, grounding every answer in retrieved documents was not optional. The RAG architecture was selected not for performance alone but for accountability and traceability.
The PoC demonstrated the viability of both the RAG and AlphaFold systems and established the core pipelines, but also identified the gaps a production system would need to address: domain-specific fine-tuning of the embedding model, handling oral and handwritten sources requiring ASR and OCR preprocessing, and integrating the two PoC systems into a unified production pipeline.
The two systems built in this project represented the AI integration stage of the client’s seven-stage discovery platform. Immediate next steps included expanding the document corpus beyond 1,000 papers, fine-tuning the SentenceTransformer embedding model on domain-specific botanical and pharmacological terminology, and extending the preprocessing pipeline to handle oral and handwritten source materials through ASR and OCR integration.
The longer roadmap focused on integrating the RAG and AlphaFold systems into a unified pipeline, enabling the platform to move from surfacing evidence about traditional compounds to predicting their molecular structures in a single workflow. Beyond the technical integration, the platform aimed to establish a community benefit model in which profits from drug development flowed back to the communities whose traditional knowledge seeded the system.
The team ingested, extracted, preprocessed, and indexed over 1,000 scientific papers on African traditional medicine, building from scratch a structured knowledge corpus that had not previously existed in any queryable format. The knowledge base covered traditional remedies, plant compounds, and clinical observations spanning multiple conditions and disease areas relevant to the client’s discovery platform.
The five-stage pipeline — PDF extraction, NLP preprocessing, FAISS vector indexing, RAG generation, and QA formatting — was built and demonstrated as a working end-to-end system. The team documented each stage and designed the pipeline for extensibility: the corpus could grow, and the retrieval model could be fine-tuned without rebuilding the core architecture.
The team built a second PoC system alongside the RAG pipeline: an AlphaFold-based protein structure prediction API using FastAPI, ColabFold, Mamba, and PDBFixer with Amber relaxation. The system accepted protein sequences, ran structure prediction, saved outputs as PDB files, and served results through a web interface, establishing the compound modeling layer the RAG system was designed to feed.
Omdena partnered with a US-Based Drug Discovery Startup to build two proof-of-concept systems for African traditional medicine research: a RAG pipeline indexed on 1,000+ scientific papers spanning PDF extraction, NLTK preprocessing, FAISS vector search, and Hugging Face RAG generation; and an AlphaFold protein structure prediction API built with FastAPI, ColabFold, and Mamba. Both systems formed the AI integration stage of the client’s discovery platform.