A novel framework for educational Q&A: Leveraging RAG and Code Interpreters for knowledge retrieval and logical

Jin Lu1, Ji Li2

  • 1Guangdong Key Laboratory of Big Data Intelligence for Vocational Education, Shenzhen Polytechnic University, Shenzhen, Guangdong, China.

Plos One
|December 1, 2025
PubMed
Summary

This study enhances educational question-answering systems using Retrieval-Augmented Generation (RAG) and Large Language Model (LLM) Code Interpreters, improving accuracy by 10-15%. The novel approach tackles knowledge gaps and complex computations for better learning experiences.

Related Concept Videos

Critical Thinking II01:25

Critical Thinking II

Critical thinking is a cognitive process with several attributes. The attributes of critical thinking include the following:
Cognitive Learning01:21

Cognitive Learning

Cognitive learning is based on purposive behavior, incidental learning, and insight learning.
E. C. Tolman's theory of purposive behavior emphasizes that much behavior is goal-directed. He argued that to understand behavior, we must look at the entire sequence of actions leading to a goal. For instance, high school students study hard, not just due to past reinforcement but also to achieve the goal of getting into a good college.
Tolman introduced the idea that behavior is influenced by...
Purposive Learning01:22

Purposive Learning

E. C. Tolman emphasized the purposiveness of behavior — the idea that much of our behavior is goal-directed. For instance, employees who aim for a promotion work diligently to meet their targets. Tolman argued that when classical conditioning and operant conditioning occur, the organism acquires certain expectations. In classical conditioning, a child might fear a dog because they expect it to bite. In operant conditioning, a person might consistently work overtime because they expect a bonus...
Reasoning01:30

Reasoning

Reasoning is the action of thinking about something in a logical, sensible way. It is integral to problem-solving, decision-making, and critical thinking. Reasoning can be inductive or deductive. Reasoning involves transforming information into conclusions, which is essential for problem-solving, decision-making, and critical thinking.
Inductive reasoning involves deriving generalizations from specific observations. This type of reasoning helps form beliefs about the world. For example,...
Critical Thinking01:19

Critical Thinking

Critical thinking involves reflective and productive thinking and the evaluation of evidence. Critical thinkers seek to understand the deeper meaning of ideas, question assumptions, and make independent decisions about what to believe or do. Scientists, for instance, are often critical thinkers. Critical thinking also requires humility about what we know and don't know and the motivation to look beyond the obvious. It is essential for effective problem-solving.
Colleges and universities are...
Information Processing Approach01:30

Information Processing Approach

The information-processing theory of cognitive development centers on fundamental mental processes, including attention, memory, and problem-solving skills. Researchers in this field examine how cognitive abilities, such as working memory, evolve and influence children's overall development. Studies indicate that children with stronger working memory tend to excel in reading comprehension, math, and problem-solving compared to peers with less efficient memory skills. Low working memory is also...