Recipe-Specific Session Processing for Accurate Cooking Q&A
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Intelligent question-answering assistants in the cooking field face challenges with low accuracy in semantic parsing, leading to inaccurate answers and reduced user cooking efficiency due to varying answers in different recipes or cooking flows.
Innovation Solution
A session information processing method and apparatus that utilizes a first database associated with a target recipe to provide accurate answers, with a fallback to a general database for unmatched queries, and includes user feedback for database updates.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a general question-answering system is used for cooking queries, then the system can handle various types of questions, but the accuracy of semantic parsing and answering cooking-specific questions is low
Solution Approach 1:
The patent segments the question-answering system into two distinct parts: a domain-specific cooking database for accurate recipe-related queries, and a general question-answering system for other questions. This segmentation allows each component to specialize in its area, improving both versatility and accuracy simultaneously.
Solution Approach 2:
The patent introduces an intermediary mechanism that routes questions between the cooking database and the general question-answering system. This intermediary determines whether a query is cooking-related and directs it to the appropriate resource, resolving the contradiction by enabling both specialized accuracy and general versatility.
2Quantity of substance
If the intelligent assistant provides answers based on multiple recipes, then more information is available, but the accuracy of answers decreases due to varying answers in different recipes
Solution Approach 1:
The patent applies local quality by providing different answer sources based on the specific query type. For cooking-related questions, it uses the specialized cooking database with recipe-specific answers, while for other questions, it uses the general system. This ensures each query receives the most appropriate and accurate information source.
Solution Approach 2:
Instead of aggregating multiple recipe answers and hoping for the best, the patent inverts the approach by first checking the cooking database for exact matches before falling back to the general system. This reversal of the search order prioritizes accuracy over quantity of information sources.
3Extent of automation
If semantic parsing is performed on cooking-related questions, then the system can understand user intent, but the parsing accuracy is low leading to failure in answering questions
Solution Approach 1:
The patent performs preliminary action by pre-processing and structuring cooking-related data in a dedicated database before queries are submitted. This preprocessing includes organizing recipe information, ingredients, and instructions in a format optimized for accurate semantic matching, thereby improving parsing accuracy before the actual query processing occurs.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
The present application provides a session information processing method and apparatus, an electronic device, and a readable storage medium. The session information processing method comprises: receiving a first user input for a target recipe interface; in response to the first input, displaying a target interface, content of the target interface being associated with a target recipe; receiving a second user input for the target interface, the second input being used for inputting target session information; and in response to the second input, outputting target response information, wherein the target response information is determined according to the target session information and a first database, and the first database is associated with the target recipe.