Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

3results about How to "Avoid logical confusion" patented technology

Software code generation methods, apparatus, equipment, and media

This application relates to the field of code generation technology, and discloses a software code generation method and its apparatus, device, and medium. The method includes: responding to a code generation driving event and determining the multimodal information corresponding to the event, wherein the multimodal information corresponds to the original software development requirements; semantically aligning the different modal information in the multimodal information and fusing them to generate software function planning information; extracting each function planning unit as a code generation subtask of the corresponding code generation type according to the code generation type corresponding to the function planning unit described in the software function planning information; calling a large language model to execute each code generation subtask and synchronously triggering the corresponding coding constraint instructions to generate target code. This application, through the semantic alignment and fusion of multimodal information and the synchronous triggering mechanism of coding constraints in the code generation process, highly restores the development requirements of the software code and reduces the subsequent security audit costs and software maintenance risks of the software code.
Owner:广州商研网络科技有限公司

Methods for constructing a character background knowledge base and training a dialogue model

PendingCN122309672AImprove immersionavoid logical confusionKnowledge graphData mining
This specification provides a method for constructing a character background knowledge base and a method for training a dialogue model. The method for constructing the character background knowledge base includes: acquiring character background data of a virtual character; extracting entities and relationships between entities from the character background data; constructing a background knowledge graph of the virtual character using entities as nodes and relationships as edges; assigning corresponding weight information to each layer of the knowledge graph to obtain a background knowledge graph containing weight information; and constructing a background knowledge base of the virtual character based on the background knowledge graph containing weight information. The background knowledge base is used as the context for retrieval enhancement generation of the dialogue model for training the virtual character. This can solve the problems of the virtual character generating dialogue content that is inconsistent with its role positioning, logically contradictory, and outputting responses that deviate from the user's expression focus due to a lack of background knowledge support, thereby improving the immersion of the user in the dialogue process with the virtual character.
Owner:BEIJING JINSHAN SHIYOU INTERACTIVE ENTERTAINMENT TECH CO LTD

Data synthesis method and apparatus, electronic device, and storage medium

ActiveCN121581012BImprove logical consistencyImprove attribute coverageDigital data information retrievalNatural language data processingLinguistic modelGraph generation
The present application relates to the technical field of artificial intelligence, and provides a data synthesis method and device, electronic equipment and storage medium, wherein the method comprises: generating a heterogeneous attribute graph based on an initial person setting template, the heterogeneous attribute graph containing entity nodes representing person setting attributes and edges representing logical constraint relationships between the person setting attributes; generating question texts and corresponding answer texts based on the heterogeneous attribute graph; and performing person setting reverse deduction based on the question texts and corresponding answer texts, and optimizing the question texts and corresponding answer texts based on the reverse-deduced person setting, thereby solving the problems of high artificial writing cost, poor simple synthesis quality, high quality inspection cost and difficult data quality guarantee, and greatly improving the logical consistency, attribute coverage and style fitting degree of the synthesized data, and providing a data basis for training a large language model with clear self-awareness and stable person setting.
Owner:IFLYTEK CO LTD