This project enhances a Reactome-based RAG chatbot by adding query un…#9
Open
shivanshuyadav921 wants to merge 1 commit intoreactome:mainfrom
Open
This project enhances a Reactome-based RAG chatbot by adding query un…#9shivanshuyadav921 wants to merge 1 commit intoreactome:mainfrom
shivanshuyadav921 wants to merge 1 commit intoreactome:mainfrom
Conversation
…derstanding for better retrieval and a citation verification layer to ensure scientifically accurate, verifiable answers. This project develops an enhanced RAG-based chatbot for biological pathway analysis using Reactome as the knowledge source. The system improves traditional RAG pipelines by introducing two key components: Query Understanding Layer — Uses an LLM to classify user intent and decompose complex queries into smaller, independent sub-queries. This enables more precise and multi-step retrieval of relevant biological pathways, reactions, and relationships. Citation & Verification Layer — Ensures that all generated answers are grounded in Reactome data by enforcing citation of pathway IDs (e.g., R-HSA-XXXXX). Extracted IDs are validated using the Reactome API, and missing citations are automatically injected based on retrieved context. By combining LLM reasoning with structured biological knowledge retrieval and verification, the system produces accurate, explainable, and scientifically reliable answers, addressing key limitations of standard LLM-based systems such as hallucination and lack of traceability.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
understanding for better retrieval and a citation verification layer to ensure scientifically accurate, verifiable answers.
This project develops an enhanced RAG-based chatbot for biological pathway analysis using Reactome as the knowledge source. The system improves traditional RAG pipelines by introducing two key components:
Query Understanding Layer — Uses an LLM to classify user intent and decompose complex queries into smaller, independent sub-queries. This enables more precise and multi-step retrieval of relevant biological pathways, reactions, and relationships. Citation & Verification Layer — Ensures that all generated answers are grounded in Reactome data by enforcing citation of pathway IDs (e.g., R-HSA-XXXXX). Extracted IDs are validated using the Reactome API, and missing citations are automatically injected based on retrieved context.
By combining LLM reasoning with structured biological knowledge retrieval and verification, the system produces accurate, explainable, and scientifically reliable answers, addressing key limitations of standard LLM-based systems such as hallucination and lack of traceability.