LLM-Powered Intelligent Search: Evolution and Multimodal Parsing in Practice
This article explains how built-in search in a large app has changed from information retrieval to knowledge reasoning. It covers dual-mode retrieval that balances speed and depth, multimodal parsing for images and long text, subject-level content evaluation, and the cloud architecture practices that support these systems. The discussion focuses on general technical design and implementation rather than any single product.
Introduction
As large language models (LLMs) develop rapidly, built-in search in traditional applications is shifting from information retrieval to knowledge reasoning. A super app recently rolled out a series of major updates to its built-in search. It introduced a Deep Thinking service based on deep reasoning models, and it has gradually expanded to multimodal parsing and systematic content evaluation. This article sets aside the specifics of that product. Instead, it examines the technical logic and implementation approaches behind this evolution from the perspective of general technical architecture and practical application.
1. Dual-Mode Retrieval: Balancing Efficiency and Depth
A modern intelligent search system must balance two goals: fast, low-latency responses and high-quality deep reasoning. The platform’s dual-mode design, which offers Quick Answer and Deep Thinking, is a useful example of how to make this trade-off.
1.1 Quick Answer Mode
Quick Answer mode centers on semantic matching and snippet extraction. It typically relies on a Retrieval-Augmented Generation (RAG) architecture. When a user submits a query, the system converts it into a dense vector with an embedding model. It then runs an approximate nearest neighbor (ANN) search in a vector database to retrieve the most relevant text chunks. The retrieved chunks and the user query are assembled into a prompt, which goes to a lightweight LLM to generate a concise answer. Latency for this mode is usually in the range of hundreds of milliseconds. It suits factual and simple common-knowledge queries.
1.2 Deep Thinking Mode
Deep Thinking mode uses a model with strong logical reasoning, such as a model with chain-of-thought (CoT) capability. Instead of only extracting snippets, this mode breaks a question into multiple steps. The system identifies complex intent and runs several rounds of internal reasoning in the background. It may also call external tools, such as search APIs or calculators, to gather more information. Because the mode generates intermediate reasoning steps, latency can reach tens of seconds. To improve the user experience, the system usually streams output with Server-Sent Events (SSE), so users can follow the reasoning as it happens.
The following pseudocode shows how queries are routed between the two modes:
def search_router(query, user_context):# 1. Intent recognition and complexity assessmentcomplexity_score = estimate_complexity(query, user_context)if complexity_score > THRESHOLD_DEEP:# 2. Route complex queries to the deep thinking pipeline and return a streaming response asynchronouslyreturn StreamingResponse(deep_thinking_pipeline(query, model="reasoning_llm"))else:# 3. Route simple queries to the quick RAG pipeline and return the result synchronouslycontext = vector_db.search(embed(query), top_k=3)return quick_answer_pipeline(query, context, model="lightweight_llm")
2. Multimodal Parsing and Long-Text Processing: Expanding the Search Scope
As the platform evolved, its search moved beyond text-only content. It added image search and long-text summarization. These features require changes to the system’s underlying data processing and retrieval logic.
2.1 Image Search and Multimodal Alignment
Image search means the system must handle unstructured data. The industry commonly uses multimodal embedding models, such as image-text matching models based on a two-tower architecture. These models map images and text into the same high-dimensional vector space. In engineering terms, new image data goes through feature extraction and is then stored in a vector database. When a user enters a text query, the system retrieves both text vectors and image vectors across modalities. It then ranks the mixed results and displays them on the front end.
2.2 Summarization of Specified Sources
Summarizing long-form content that combines text and images, such as creator articles on the platform, poses challenges in handling long context and compressing information. When a user selects a specific article for summarization, the system may need to process an article longer than 10,000 characters. A common approach is the Map-Reduce strategy. The system first splits the long text into multiple chunks and uses an LLM to summarize each chunk locally. It then merges all the local summaries and calls the LLM again to produce a global summary. If the model has a very long context window, the full text can be passed in a single call. In that case, token consumption and inference time must be kept under control.
3. Systematic Content Evaluation: From Retrieval to Knowledge Synthesis
A recent update added systematic summarization for a specific subject. An example query is “Evaluate this account.” This capability marks a shift in search systems from passive retrieval toward active knowledge synthesis and evaluation.
3.1 Subject-Level Knowledge Aggregation
To support this feature, the system first builds an index keyed on the subject, such as a creator account. When a user requests an evaluation, the system does not simply return a list of that account’s articles. Instead, it triggers a more complex process of knowledge graph construction and aggregation. The underlying engine uses the subject ID to quickly retrieve all relevant text data for the account.
3.2 Multi-Dimensional Information Extraction and Evaluation
After retrieving a large volume of data, the system runs information extraction (IE) tasks with an LLM. Carefully designed prompts guide the model to extract key dimensions from the articles. These include topic distribution, sentiment, level of expertise, and update frequency. Finally, the model uses these structured and unstructured signals to generate a coherent evaluation report. This capability greatly reduces the effort users need to get in-depth information.
4. Cloud Architecture and Best Practices
A system this complex depends on mature infrastructure. In cloud architecture, developers should use general-purpose cloud services to keep the system stable and able to handle high concurrency.
4.1 Storage and Decoupling
- Object storage: Stores large volumes of images, raw long-text data, and feature files for multimodal models. It provides high-throughput reads.
- Message queues: For time-consuming tasks such as Deep Thinking, a message queue can absorb traffic peaks and decouple request submission from processing. This keeps the system stable under heavy load.
- Vector databases: Serve as the foundation for multimodal retrieval. They support efficient retrieval over billions of vectors together with scalar filtering, which is key to hybrid retrieval.
4.2 Observability and Cost Control
- Logging, monitoring, and alerting: LLM calls involve complex call chains and significant costs. Developers should connect to a logging service and build end-to-end tracing. This makes it possible to monitor token consumption, time to first token (TTFT), and overall response time for each model.
- Model gateway layer: In enterprise systems, a unified model gateway can route traffic dynamically across different models, such as fast generation models and reasoning models. This supports failover and degradation. It also lets the system schedule requests based on real-time traffic and compute costs.
Conclusion
From dual-mode retrieval to multimodal parsing and systematic content evaluation, the evolution of this super app’s built-in search shows how much LLMs can change traditional business systems. For developers and enterprise architects, the key steps are to understand the RAG architecture, multimodal alignment, and subject-level knowledge aggregation. They also need to combine these with general cloud services to build highly available distributed systems and stay competitive in the AI era.
