Dialog-Based Code Processing with Large-Model File Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing code processing methods require manual user interaction, which is complex and inefficient, leading to poor user experience.

Innovation Solution

A method utilizing a large model to process code based on dialog text, where a first dialog text is input to determine a target code file and generate a code processing result and dialog text, which are then displayed on an interaction interface, simplifying user operations and enhancing efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If manual user operation is used for code processing, then the user can directly control the code file, but the operation complexity increases and processing efficiency decreases

Engineering Contradiction:
Improvecode processing operationVSAvoidcode processing efficiency
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The system enables self-service code processing by automatically identifying target code files and executing processing tasks based on user input without requiring manual file selection or complex operations. The large model automatically determines which code file to process and performs the intended operations, allowing the system to serve itself rather than requiring continuous user intervention.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The large model acts as an intermediary between the user's natural language input and the code processing system. It translates user intent into automated actions by identifying target code files and determining processing operations, serving as a mediator that eliminates the need for direct manual file manipulation while maintaining user control through conversational input.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If manual code file processing is performed, then the user can review and control each step, but the time consumption increases

Engineering Contradiction:
Improvecode processing controlVSAvoidcode processing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary action by automatically identifying and selecting the target code file before the user needs to process it. The large model anticipates the user's intent and pre-determines which code file should be processed, eliminating the time required for manual file selection while maintaining reliability through accurate intent recognition and file identification.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If automated processing is implemented, then the processing efficiency improves, but the complexity of the system increases

Engineering Contradiction:
Improvecode processing efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The large model serves multiple functions within the code processing system: it understands user intent, identifies target code files, determines processing operations, and coordinates execution. This multi-functionality consolidates what would otherwise require separate complex components into a single versatile model, achieving automation without proportionally increasing system complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS20260044320A1Method for processing a code based on a large model, electronic device, and storage medium
Publication Date: 2026.02.12 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US20260044320A1 patent drawing
  • US20260044320A1 patent drawing
  • US20260044320A1 patent drawing

AI summary

A method for processing a code based on a large model in a human-machine interaction system is performed by an electronic device and includes: obtaining a first dialog text for describing a code processing task; determining at least one of a newly added code file or an original code file as a target code file corresponding to the code processing task; inputting the first dialog text into a large model, and outputting, via the large model, a code processing result of the target code file and a second dialog text corresponding to the first dialog text; and displaying the code processing result and a target dialog text on an interaction interface, wherein the target dialog text comprises at least one of the first dialog text or the second dialog text.