FEATURED PROJECT

Know Your Dharma

An AI-powered knowledge system designed to make a large collection of Indian scriptures easier to explore, search and understand.

PythonGenerative AIRAGLangGraphOCRLLMs
Know Your Dharma

OVERVIEW

Why this project?

Traditional scripture collections can be difficult to search and explore because information is distributed across large documents, different languages and different textual formats.

Know Your Dharma is designed as a knowledge system that combines document processing, OCR, retrieval and Generative AI to create a more natural way of interacting with this information.

The goal is not simply to generate answers, but to ground responses in the underlying source material and make the relevant context easier to discover.

ARCHITECTURE

From scriptures to intelligent answers.

01

Documents

Scriptures and source material

02

OCR

Extract text from scanned documents

03

Processing

Clean, structure and chunk content

04

Retrieval

Find relevant knowledge

05

LLM

Generate grounded responses

HOW IT WORKS

Retrieval before generation.

Instead of relying only on the language model's internal knowledge, the system can retrieve relevant information from the underlying knowledge base before generating a response.

01

User Question

A user asks a question.

02

Retrieve

Relevant source information is retrieved.

03

Reason

The system processes the retrieved context.

04

Generate

The LLM generates the response.

05

Present

The answer is presented with relevant context.

TECHNOLOGY

Technology stack

PythonLangGraphRAGLLMsOCREmbeddingsVector Search

PROJECT STATUS

Building & evolving

The system is being developed incrementally, with a focus on improving document ingestion, retrieval quality, multilingual support and the overall user experience.