The reasoning endpoint analyzes a query and generates a strategic plan for searching and explaining, without actually answering the question. It acts as an “initial explorer” that defines:
Information needs: What specific data is required to answer the query
Explanation strategy: How to structure the answer once information is gathered
This endpoint uses server-sent events (SSE) for real-time streaming of reasoning tokens.
data: {"content":"<think>\n\n"}data: {"content":"## Information Needs\n\n"}data: {"content":"To answer how quantum entanglement works, we need to search for:\n\n"}data: {"content":"1. **Fundamental Concepts**: Definition of quantum entanglement, basic principles of quantum mechanics\n"}data: {"content":"2. **Mechanism**: How particles become entangled, what properties are correlated\n"}data: {"content":"3. **Mathematical Framework**: Wave functions, Bell's theorem, quantum correlations\n"}data: {"content":"4. **Experimental Evidence**: EPR paradox, Bell test experiments, modern applications\n\n"}data: {"content":"## Explanation Strategy\n\n"}data: {"content":"Once we have this information, structure the explanation as follows:\n\n"}data: {"content":"1. **Introduction**: Simple analogy to introduce the concept\n"}data: {"content":"2. **The Phenomenon**: Describe what happens when particles are entangled\n"}data: {"content":"3. **Scientific Explanation**: Quantum superposition and measurement collapse\n"}data: {"content":"4. **Key Principles**: Non-locality, correlations without communication\n"}data: {"content":"5. **Real-world Context**: Current research and applications\n\n"}data: {"content":"</think>"}data: {"complete":true,"reasoning":"<think>\n\n## Information Needs\n\nTo answer how quantum entanglement works, we need to search for:\n\n1. **Fundamental Concepts**: Definition of quantum entanglement, basic principles of quantum mechanics\n2. **Mechanism**: How particles become entangled, what properties are correlated\n3. **Mathematical Framework**: Wave functions, Bell's theorem, quantum correlations\n4. **Experimental Evidence**: EPR paradox, Bell test experiments, modern applications\n\n## Explanation Strategy\n\nOnce we have this information, structure the explanation as follows:\n\n1. **Introduction**: Simple analogy to introduce the concept\n2. **The Phenomenon**: Describe what happens when particles are entangled\n3. **Scientific Explanation**: Quantum superposition and measurement collapse\n4. **Key Principles**: Non-locality, correlations without communication\n5. **Real-world Context**: Current research and applications\n\n</think>"}
The reasoning model receives this system instruction:
You are a helpful reasoner, acting as the **initial explorer** for a Search Agent. Your role is to **define the search strategy**, not to find the answer itself.Your task is to think like a search expert and determine:1. **Information Needs:** What specific types of information, facts, or data are absolutely necessary to fully understand and answer the user's query? Think about the *categories* of information we need to search for.2. **Explanation Strategy:** Once we have all the necessary information, how should we structure our explanation to clearly and comprehensively answer the user's query? Outline the *key points* or *logical steps* of the explanation.Remember, your output should be a **search and explanation plan**, not the answer. Focus on *how* we will search and *how* we will explain, rather than *what* the answer is. Only provide ideas and plans, do not attempt to answer the user's query.
Query: "Why did the Roman Empire fall?"Result: Basic answer covering common factors
With reasoning:
Reasoning: Need to search for economic factors, military issues, political instability, social changes, and external pressures. Structure as chronological analysis with interconnected causes.Result: Comprehensive answer with structured analysis of multiple factors