Skip to main content

Introduction

Search-o1 proposes a framework that combines large-scale reasoning models with Agentic Retrieval-Augmented Generation (Agentic RAG) and Reason-in-Documents. When the model encounters a knowledge gap during the reasoning process, it actively retrieves external information, refines it, and injects the result into the reasoning chain, thereby improving the reasoning accuracy and robustness in complex tasks such as science, mathematics, and programming.
Paper link: Arxiv.

Process

In short, Search-o1 starts reasoning with the original question; once an information gap is identified, it generates a sub-question and triggers retrieval; then it refines the retrieved response, extracting key information to inject back into the reasoning process until a credible final answer is formed.

Reproduction

Write Pipeline

Based on the above logic, the following Pipeline can be written:
examples/search_o1.yaml

Compile Pipeline File

Modify Parameter File

examples/parameters/search_o1_parameter.yaml

Run Pipeline File