Building design scheme query method and related equipment

By constructing prompt text and combining consultation dialogue data and building design plan database, the problem of text inaccuracy caused by the large number of language model parameters is solved, and more accurate user needs are met.

CN118779418AActive Publication Date: 2024-10-15SHENZHEN HONGTAI BUILDING TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410776970.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-15
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

Existing language models have a large number of parameters, making it difficult to accurately output text that meets user needs.

Method used

By constructing the prompt text of the large language model, combined with the consultation dialogue data and the building design plan database, query processing is performed to generate the target design plan and return it to the customer.

Benefits of technology

It solves the problem of text inaccuracy caused by the large number of language model parameters and improves the satisfaction of user needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779418A_ABST
    Figure CN118779418A_ABST
Patent Text Reader

Abstract

The invention provides a building design scheme query method, comprising: acquiring consultation dialogue data including first dialogue data of a customer and second dialogue data of a customer service; based on the consultation dialogue data and a building design scheme database, a prompt text of a large language model is constructed, the prompt text comprises a design scheme result output request, and the building design scheme database comprises a plurality of building design units forming a building design scheme; inputting the prompt text into the large language model for query processing to obtain a target design scheme output by the large language model; and returning the target design scheme to the customer. The method can solve the problems that in an existing method, the parameter quantity of a language model is large, and texts meeting user requirements are difficult to output accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a building design solution query method and related equipment. Background Art

[0002] A large language model is an artificial intelligence model that aims to understand and generate human language. It generally collects feedback from users on whether they are satisfied with the responses and iteratively trains the model in the hope that the model can output more accurate responses that meet user needs. Currently, many businesses are beginning to use language models. For example, search engines are beginning to introduce language models to analyze users' real search needs; voice assistants are also introducing language models to provide smarter responses to users' questions; intelligent customer service can analyze user questions by introducing language models, and can provide more humane responses, etc. Currently, due to the large number of parameters in the language model, it is difficult to accurately output text that meets user needs. Summary of the invention

[0003] The embodiment of the present invention provides a building design solution query method, which aims to solve the problem that the language model has a large number of parameters and it is difficult to accurately output a text that meets the user's needs in the existing method. By constructing a prompt text of a large language model based on consultation dialogue data and a building design solution database, and inputting the prompt text into the large language model for query processing, a target design solution output by the large language model is obtained, and the target design solution is returned to the customer, which can solve the problem that the language model has a large number of parameters and it is difficult to accurately output a text that meets the user's needs in the existing method.

[0004] In a first aspect, an embodiment of the present invention provides a building design solution query method, the building design solution query method comprising the following steps:

[0005] Acquire consultation dialogue data, wherein the consultation dialogue data includes first dialogue data of the customer and second dialogue data of the customer service;

[0006] Based on the consultation dialogue data and the building design solution database, constructing a prompt text of a large language model, wherein the prompt text includes a design solution result output request, and the building design solution database includes a plurality of building design units constituting the building design solution;

[0007] Inputting the prompt text into the large language model for query processing to obtain a target design solution output by the large language model;

[0008] The target design solution is returned to the customer.

[0009] Optionally, the consultation dialogue data is multimodal data, the first dialogue data includes data of at least one mode among text data, visual data and voice data, the second dialogue data includes data of at least one mode among text data, visual data and voice data, and the step of constructing the prompt text of the large language model based on the consultation dialogue data and the building design solution database includes:

[0010] If the first conversation data includes the visual data and / or the voice data, the visual data and / or the voice data are prompted to obtain first data to be searched;

[0011] If the second conversation data includes the visual data and / or the voice data, searching for context data of the visual data and / or the voice data in the first conversation data, and determining whether the visual data and / or the voice data is the second data to be searched based on the context data;

[0012] Performing a semantic search on the first to-be-searched data and / or the second to-be-searched data to obtain a plurality of semantically related reference data;

[0013] Based on the plurality of reference data, the consultation dialogue data and the building design solution database, a prompt text of a large language model is constructed.

[0014] Optionally, the step of determining whether the visual data and / or the voice data is the second data to be searched according to the context data includes:

[0015] Performing semantic extraction on the context data to obtain the semantics of the context data;

[0016] Determining whether the client approves the video data and / or the voice data according to the semantics of the context data;

[0017] If it is determined that the client approves the video data and / or the voice data, then determining the video data and / or the voice data as the second data to be searched;

[0018] If it is determined that the client does not recognize the video data and / or the voice data, it is determined that the video data and / or the voice data are not the second data to be searched.

[0019] Optionally, the step of performing semantic search on the first to-be-searched data and / or the second to-be-searched data to obtain a plurality of semantically related parameter data includes:

[0020] Performing semantic search on the first data to be searched and / or the second data to be searched by using the large language model to obtain a plurality of candidate data, each candidate data corresponding to a confidence level output by the large language model and a semantic relevance corresponding to the first data to be searched and / or the second data to be searched;

[0021] According to the confidence and the semantic relevance, a plurality of reference data are determined from the plurality of candidate data, and the number of the reference data is less than or equal to the number of the candidate data.

[0022] Optionally, the step of constructing a prompt text of a large language model based on the plurality of reference data, the consultation dialogue data and the building design solution database includes:

[0023] Obtaining a prompt template, wherein the prompt template includes a reference data filling area, a consultation dialogue filling area, a database filling area, and a preset design solution result output request;

[0024] sorting the plurality of reference data according to the confidence level and the semantic relevance, and filling them in the reference data filling area in sequence; and

[0025] Filling the consultation dialogue data in the consultation dialogue filling area; and

[0026] Fill in the access method of the building design solution database into the database filling area;

[0027] After filling in, you will get the prompt text of the large language model.

[0028] Optionally, the step of inputting the prompt text into the large language model for query processing to obtain a target design solution output by the large language model includes:

[0029] Inputting the prompt text into the large language model, and extracting the semantics and intention of the prompt text through the large language model;

[0030] Accessing the building design solution database according to the semantics and intention of the prompt text through the large language model to find out a target building design unit set, wherein the target building design unit set includes multiple target building design units;

[0031] The target building design units in the target building design unit set are combined into at least one target design scheme through the large language model, and at least one of the target design schemes is output.

[0032] Optionally, before the step of constructing a prompt text of the eye model based on the consultation dialogue data and the building design solution database, the method further includes:

[0033] Get multiple sample building design plans;

[0034] Decompose multiple sample building design plans into units to obtain multiple building design units;

[0035] Based on the plurality of building design units, a building design solution database is constructed.

[0036] In a second aspect, an embodiment of the present invention further provides a building design solution query device, the building design solution query device comprising:

[0037] A first acquisition module, used to acquire consultation dialogue data, wherein the consultation dialogue data includes the first dialogue data of the customer and the second dialogue data of the customer service;

[0038] A first construction module is used to construct a prompt text of a large language model based on the consultation dialogue data and a building design solution database, wherein the prompt text includes a design solution result output request, and the building design solution database includes a plurality of building design units constituting a building design solution;

[0039] A query processing module, used for inputting the prompt text into the large language model for query processing, and obtaining a target design solution output by the large language model;

[0040] A sending module is used to return the target design solution to the customer.

[0041] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the building design scheme query method provided in the embodiment of the present invention when executing the computer program.

[0042] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the building design solution query method provided in the embodiment of the present invention are implemented.

[0043] In an embodiment of the present invention, consulting dialogue data is obtained, the consulting dialogue data includes the first dialogue data of the customer and the second dialogue data of the customer service; based on the consulting dialogue data and the building design solution database, a prompt text of a large language model is constructed, the prompt text includes a design solution result output request, and the building design solution database includes multiple building design units constituting the building design solution; the prompt text is input into the large language model for query processing to obtain a target design solution output by the large language model; and the target design solution is returned to the customer. By constructing the prompt text of the large language model according to the consulting dialogue data and the building design solution database, and inputting the prompt text into the large language model for query processing to obtain the target design solution output by the large language model, and thus returning the target design solution to the customer, the problem that the language model has a large number of parameters in the existing method and it is difficult to accurately output text that meets user needs can be solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0045] Figure 1 It is a flow chart of a building design solution query method provided by an embodiment of the present invention;

[0046] Figure 2 It is a structural schematic diagram of a building design solution query device provided by an embodiment of the present invention;

[0047] Figure 3 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] like Figure 1 As shown, Figure 1 1 is a flow chart of a building design solution query method provided by an embodiment of the present invention. The building design solution query method comprises the following steps:

[0050] 101. Obtain consultation conversation data.

[0051] In the embodiment of the present invention, the above-mentioned consultation dialogue data includes the first dialogue data of the customer and the second dialogue data of the customer service.

[0052] The first dialogue data may be understood as questions or demands raised by the customer during the consultation process, and may be text data, visual data, and voice data.

[0053] The second conversation data may be understood as answers, suggestions or solutions given by customer service to customers' questions or needs, and may be text data, visual data or voice data.

[0054] The above-mentioned consultation dialogue data may be all the communication content generated between the customer and the customer service during the consultation process.

[0055] It should be noted that the consultation dialogue data can be used as a text dataset for the natural language processing model.

[0056] 102. Based on the consultation dialogue data and the building design solution database, construct the prompt text of the large language model.

[0057] In an embodiment of the present invention, the prompt text includes a design solution result output request, and the building design solution database includes a plurality of building design units constituting the building design solution.

[0058] The above-mentioned large language model can be a machine learning model that can process massive amounts of data and complete various complex tasks, such as natural language processing, computer vision, speech recognition, etc. The large language model is trained to learn complex patterns and structures in language, so that it can generate coherent and natural text. In the consulting dialogue scenario, the large language model can help the system understand the user's questions or needs and provide relevant suggestions and answers.

[0059] The prompt text of the large language model can be constructed based on the consultation dialogue data and the building design solution database.

[0060] The consultation dialogue data and the building design solution database can be preprocessed to construct the prompt text of the large language model to guide the model to respond to the corresponding text data, voice data and visual data according to the text data, voice data and visual data proposed by the user during use.

[0061] The above-mentioned preprocessing may be processing methods such as text extraction, semantic extraction, and visual extraction.

[0062] 103. Input the prompt text into the large language model for query processing to obtain the target design solution output by the large language model.

[0063] In an embodiment of the present invention, the prompt text can be input into a large language model for query processing, the semantics and intention of the prompt text can be extracted through the large language model, and the building design scheme database can be accessed according to the semantics and intention of the prompt text to find out the target building design unit set; and the target building design unit set can be combined through the large language model to output at least one target design scheme.

[0064] The above target building design unit set includes multiple target building design units, and the target building design units are combined into at least one target design scheme.

[0065] The semantics of the above prompt text can be understood as the meaning and implications expressed by the prompt text, and the intention of the above prompt text can be understood as the goals and objectives that the user hopes to achieve through the prompt text.

[0066] 104. Return the target design plan to the customer.

[0067] In the embodiment of the present invention, after the large language model generates a target design solution, the solution will be returned or delivered to the client. The client can obtain the desired results or suggestions by viewing, evaluating and selecting the target design solution.

[0068] In the embodiment of the present invention, the present invention can customize the large language model according to the needs and goals of the user to meet the expectations and needs of the user.

[0069] In an embodiment of the present invention, consulting dialogue data is obtained, the consulting dialogue data includes the first dialogue data of the customer and the second dialogue data of the customer service; based on the consulting dialogue data and the building design solution database, a prompt text of a large language model is constructed, the prompt text includes a design solution result output request, and the building design solution database includes multiple building design units constituting the building design solution; the prompt text is input into the large language model for query processing to obtain a target design solution output by the large language model; and the target design solution is returned to the customer. The present invention can solve the problem that the language model has a large number of parameters in the existing method, and it is difficult to accurately output text that meets user needs.

[0070] Optionally, the consultation conversation data is multimodal data, the first conversation data includes data of at least one mode among text data, visual data and voice data, and the second conversation data includes data of at least one mode among text data, visual data and voice data. In the step of constructing the prompt text of the large language model based on the consultation conversation data and the building design plan database, if the first conversation data includes visual data and / or voice data, the visual data and / or voice data are extracted to obtain the first data to be searched; if the second conversation data includes visual data and / or voice data, the context data of the visual data and / or voice data is found in the first conversation data, and it is determined whether the visual data and / or voice data is the second data to be searched according to the context data; a semantic search is performed on the first data to be searched and / or the second data to be searched to obtain multiple semantically related reference data; and the prompt text of the large language model is constructed based on the multiple reference data, the consultation conversation data and the building design plan database.

[0071] In the embodiment of the present invention, if the first dialogue data includes visual data and voice data, the visual data and voice data are extracted, and the extracted visual data and voice data are used as the first data to be searched for the large language model. If the first dialogue data includes visual data, the visual data is extracted, and the extracted visual data is used as the first data to be searched for the large language model. If the first dialogue data includes voice data, the voice data is extracted, and the extracted voice data is used as the first data to be searched for the large language model.

[0072] Furthermore, if the second dialogue data includes visual data and voice data, the context data of the visual data and voice data is searched out in the first dialogue, and according to the context data, it is determined whether the visual data and voice data are the second data to be searched. If the second dialogue data includes visual data, the context data of the visual data is searched out in the first dialogue data, and according to the context data, it is determined whether the visual data is the second data to be searched. If the second dialogue data includes voice data, the context data of the voice data is searched out in the first dialogue data, and according to the context data, it is determined whether the voice data is the second data to be searched.

[0073] The above semantic search can be understood as a search process by understanding the context and meaning of the search query and search content.

[0074] In the embodiment of the present invention, a prompt text of a large language model can be constructed based on multiple reference data, consultation dialogue data, and a building design solution database.

[0075] Optionally, in the step of determining whether the visual data and / or voice data are the second data to be searched based on the context data, semantic extraction can be performed on the context data to obtain the semantics of the context data; determine whether the customer recognizes the video data and / or voice data based on the semantics of the context data; if it is determined that the customer recognizes the video data and / or voice data, determine that the video data and / or voice data are the second data to be searched; if it is determined that the customer does not recognize the video data and / or voice data, determine that the video data and / or voice data are not the second data to be searched.

[0076] In the embodiment of the present invention, the above semantic extraction can be understood as a process of extracting relevant data by analyzing semantic information in context data.

[0077] The context data of the visual data and the voice data can be semantically extracted to obtain the semantics of the context data, and whether the customer approves the video data and the voice data can be determined based on the context semantics; if it is determined that the customer approves the video data and the voice data, the video data and the voice data are determined to be the second data to be searched. The context data of the visual data can be semantically extracted to obtain the semantics of the context data, and whether the customer approves the video data can be determined based on the context semantics; if it is determined that the customer approves the video data, the video data is determined to be the second data to be searched. The context data of the voice data can be semantically extracted to obtain the semantics of the context data, and whether the customer approves the voice data can be determined based on the context semantics; if it is determined that the customer approves the voice data, the voice data is determined to be the second data to be searched.

[0078] If it is determined that the customer does not recognize the video data and the voice data, it is determined that the video data and the voice data are not the second data to be searched. If it is determined that the customer does not recognize the video data, it is determined that the video data is not the second data to be searched. If it is determined that the customer does not recognize the voice data, it is determined that the voice data is not the second data to be searched.

[0079] Optionally, in the step of performing a semantic search on the first data to be searched and / or the second data to be searched to obtain multiple semantically related reference data, a semantic search can be performed on the first data to be searched and / or the second data to be searched through a large language model to obtain multiple candidate data, each candidate data corresponding to a confidence level output by a large language model and a semantic relevance corresponding to the first data to be searched and / or the second data to be searched; based on the confidence levels and the semantic relevance, multiple reference data are determined from the multiple candidate data, and the number of reference data is less than or equal to the number of candidate data.

[0080] In the embodiment of the present invention, the above confidence level can be understood as the credibility of the correlation between the candidate data and the first data to be searched and / or the second data to be searched when the large language model performs semantic search on the candidate data. The higher the confidence level, the stronger the correlation between the candidate data and the target data.

[0081] A semantic search can be performed on the first data to be searched and the second data to be searched through a language model to obtain multiple candidate data, each candidate data corresponding to a confidence level output by a large language model and a semantic relevance corresponding to the first data to be searched and the second data to be searched. A semantic search can be performed on the first data to be searched through a language model to obtain multiple candidate data, each candidate data corresponding to a confidence level output by a large language model and a semantic relevance corresponding to the first data to be searched. A semantic search can be performed on the second data to be searched through a language model to obtain multiple candidate data, each candidate data corresponding to a confidence level output by a large language model and a semantic relevance corresponding to the second data to be searched.

[0082] Furthermore, multiple reference data can be determined from multiple candidate data according to the confidence and semantic relevance, and the number of reference data is less than or equal to the number of candidate data. The K candidate data with the largest confidence or semantic relevance can be used as reference data, or the K candidate data with the largest weighted sum of confidence and relevance can be used as reference data.

[0083] Optionally, in the step of constructing the prompt text of the large language model based on multiple reference data, consultation dialogue data and a building design solution database, a prompt template can be obtained, the prompt template including a reference data filling area, a consultation dialogue filling area, a database filling area and a preset design solution result output request; sort the multiple reference data according to confidence and semantic relevance, and fill them in the reference data filling area in sequence; and fill the consultation dialogue data in the consultation dialogue filling area; and fill the access method of the building design solution database in the database filling area; after filling in, the prompt text of the large language model is obtained.

[0084] In the embodiment of the present invention, the reference data filling area is used to fill in reference data. The consultation dialogue filling area is used to fill in consultation dialogue data. The database filling area is used to fill in the access method of the building design solution database.

[0085] The prompt text of the above-mentioned large language model includes reference data, consultation dialogue data, and database access methods, etc., which aims to guide the large language model to better understand user needs and give accurate and useful results.

[0086] Optionally, in the step of inputting the prompt text into the large language model for query processing and obtaining the target design scheme output by the large language model, the prompt text can be input into the large language model, and the semantics and intention of the prompt text can be extracted through the large language model; the building design scheme database is accessed through the large language model according to the semantics and intention of the prompt text to find out a target building design unit set, wherein the target building design unit set includes multiple target building design units; the target building design units in the target building design unit set are combined into at least one target design scheme through the large language model, and at least one target design scheme is output.

[0087] In the embodiment of the present invention, the semantics of the prompt text can be understood as the meaning and implications expressed by the prompt text, and the intention of the prompt text can be understood as the goal and purpose that the user hopes to achieve through the prompt text.

[0088] By inputting the prompt text into the large language model, the large language model can extract the semantics and intention of the prompt text; and the large language model accesses the building design scheme database according to the extracted semantics and intention to find out the target building design unit set; and through the large language model, the target building design units in the target building design unit set are combined into at least one target design scheme, and at least one target design scheme is output.

[0089] The above target building design unit set includes multiple target building design units, each unit is a design solution related to user needs.

[0090] Furthermore, multiple target building design units are combined to output at least one target design solution to meet user needs.

[0091] Optionally, before the step of constructing the prompt text of the large language model based on the consultation dialogue data and the building design plan database, multiple sample building design plans can be obtained; the multiple sample building design plans can be unitized to obtain multiple building design units; and a building design plan database can be constructed based on the multiple building design units.

[0092] In the embodiment of the present invention, the above-mentioned unitized decomposition can be understood as decomposing a complex system or problem into several relatively simple units or modules for better understanding and processing. Unitized decomposition is to divide the entire design scheme into several specific design elements or components, such as architectural style, functional layout, structural form, etc.

[0093] The building design solution database includes a plurality of building design units constituting the building design solution.

[0094] In the embodiment of the present invention, a variety of different building design schemes can be collected and sorted, and the collected various building design schemes can be divided according to certain standards or rules to obtain multiple building design units, and a building design scheme database is established based on the multiple building design units. The building design scheme database is used to store and manage various building design schemes for reference and reference.

[0095] like Figure 2 As shown, an embodiment of the present invention provides a building design solution query device. The building design solution query device includes:

[0096] A first acquisition module 201 is used to acquire consultation dialogue data, wherein the consultation dialogue data includes the first dialogue data of the customer and the second dialogue data of the customer service;

[0097] A first construction module 202 is used to construct a prompt text of a large language model based on the consultation dialogue data and a building design solution database, wherein the prompt text includes a design solution result output request, and the building design solution database includes a plurality of building design units constituting a building design solution;

[0098] A query processing module 203 is used to input the prompt text into the large language model for query processing to obtain a target design solution output by the large language model;

[0099] The returning module 204 is used to return the target design solution to the customer.

[0100] Optionally, the construction module 202 includes:

[0101] a prompting submodule, configured to prompt the visual data and / or the voice data if the first conversation data includes the visual data and / or the voice data, so as to obtain first data to be searched;

[0102] a determination submodule, configured to find context data of the visual data and / or the voice data in the first dialogue data if the second dialogue data includes the visual data and / or the voice data, and determine whether the visual data and / or the voice data is the second data to be searched according to the context data;

[0103] A semantic search submodule, configured to perform a semantic search on the first data to be searched and / or the second data to be searched to obtain a plurality of semantically related reference data;

[0104] A construction submodule is used to construct a prompt text of a large language model based on the multiple reference data, the consultation dialogue data and the building design solution database.

[0105] Optionally, the determining submodule includes:

[0106] A semantic extraction unit, used to perform semantic extraction on the context data to obtain the semantics of the context data;

[0107] A first determination unit, configured to determine whether the client approves the video data and / or the voice data according to the semantics of the context data;

[0108] A second determining unit, configured to determine the video data and / or the voice data as second data to be searched if it is determined that the client approves the video data and / or the voice data;

[0109] The third determining unit is configured to determine that the video data and / or the voice data are not the second data to be searched if it is determined that the client does not recognize the video data and / or the voice data.

[0110] Optionally, the semantic search submodule includes:

[0111] a semantic search unit, configured to perform a semantic search on the first data to be searched and / or the second data to be searched by using the large language model to obtain a plurality of candidate data, each candidate data corresponding to a confidence level output by the large language model and a semantic relevance level corresponding to the first data to be searched and / or the second data to be searched;

[0112] A fourth determining unit is used to determine a plurality of reference data from the plurality of candidate data according to the confidence and the semantic relevance, wherein the number of the reference data is less than or equal to the number of the candidate data.

[0113] Optionally, the construction submodule includes:

[0114] An acquisition unit, used for acquiring a prompt template, wherein the prompt template includes a reference data filling area, a consultation dialogue filling area, a database filling area, and a preset design solution result output request;

[0115] a sorting unit, used to sort the plurality of reference data according to the confidence level and the semantic relevance, and fill them in the reference data filling area in sequence; and

[0116] A first filling unit is used to fill the consultation dialogue data in the consultation dialogue filling area; and

[0117] A second filling unit is used to fill in the access method of the building design solution database into the database filling area;

[0118] The processing unit is used to complete the filling and obtain the prompt text of the large language model.

[0119] Optionally, the query processing module 203 includes:

[0120] An extraction submodule, used for inputting the prompt text into the large language model, and extracting the semantics and intention of the prompt text through the large language model;

[0121] An access submodule, configured to access the building design solution database according to the semantics and intention of the prompt text through the large language model, and find out a target building design unit set, wherein the target building design unit set includes a plurality of target building design units;

[0122] The output submodule is used to combine the target building design units in the target building design unit set into at least one target design scheme through the large language model, and output at least one of the target design schemes.

[0123] Optionally, the device further comprises:

[0124] A second acquisition module is used to acquire a plurality of sample building design solutions;

[0125] A splitting module is used to split multiple sample building design schemes into units to obtain multiple building design units;

[0126] The second building module is used to build a building design solution database based on the multiple building design units.

[0127] It should be noted that the building design solution query device provided in the embodiment of the present invention can be applied to devices such as smart phones, computers, servers, etc. that can perform the building design solution query method.

[0128] The building design solution query device provided in the embodiment of the present invention can implement each process implemented by the building design solution query method in the above method embodiment and can achieve the same beneficial effects. To avoid repetition, it will not be described here.

[0129] See also Figure 3 , Figure 3 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 3 As shown, it includes: a memory 302, a processor 301, and a computer program of a building design solution query method stored in the memory 302 and executable on the processor 301, wherein:

[0130] The processor 301 is used to call the computer program stored in the memory 302 and execute the following steps:

[0131] Acquire consultation dialogue data, wherein the consultation dialogue data includes first dialogue data of the customer and second dialogue data of the customer service;

[0132] Based on the consultation dialogue data and the building design solution database, constructing a prompt text of a large language model, wherein the prompt text includes a design solution result output request, and the building design solution database includes a plurality of building design units constituting the building design solution;

[0133] Inputting the prompt text into the large language model for query processing to obtain a target design solution output by the large language model;

[0134] The target design solution is returned to the customer.

[0135] Optionally, the consultation dialogue data is multimodal data, the first dialogue data includes data of at least one mode among text data, visual data and voice data, the second dialogue data includes data of at least one mode among text data, visual data and voice data, and the step of constructing the prompt text of the large language model based on the consultation dialogue data and the building design solution database executed by the processor 301 includes:

[0136] If the first conversation data includes the visual data and / or the voice data, the visual data and / or the voice data are prompted to obtain first data to be searched;

[0137] If the second conversation data includes the visual data and / or the voice data, searching for context data of the visual data and / or the voice data in the first conversation data, and determining whether the visual data and / or the voice data is the second data to be searched based on the context data;

[0138] Performing a semantic search on the first to-be-searched data and / or the second to-be-searched data to obtain a plurality of semantically related reference data;

[0139] Based on the plurality of reference data, the consultation dialogue data and the building design solution database, a prompt text of a large language model is constructed.

[0140] Optionally, the step of determining, according to the context data, whether the visual data and / or the voice data is the second data to be searched, performed by the processor 301 includes:

[0141] Performing semantic extraction on the context data to obtain the semantics of the context data;

[0142] Determining whether the client approves the video data and / or the voice data according to the semantics of the context data;

[0143] If it is determined that the client approves the video data and / or the voice data, then determining the video data and / or the voice data as the second data to be searched;

[0144] If it is determined that the client does not recognize the video data and / or the voice data, it is determined that the video data and / or the voice data are not the second data to be searched.

[0145] Optionally, the step of performing semantic search on the first to-be-searched data and / or the second to-be-searched data to obtain a plurality of semantically related parameter data executed by the processor 301 includes:

[0146] Performing semantic search on the first data to be searched and / or the second data to be searched by using the large language model to obtain a plurality of candidate data, each candidate data corresponding to a confidence level output by the large language model and a semantic relevance corresponding to the first data to be searched and / or the second data to be searched;

[0147] According to the confidence and the semantic relevance, a plurality of reference data are determined from the plurality of candidate data, and the number of the reference data is less than or equal to the number of the candidate data.

[0148] Optionally, the step of constructing a prompt text of a large language model based on the plurality of reference data, the consultation dialogue data and the building design solution database executed by the processor 301 includes:

[0149] Obtaining a prompt template, wherein the prompt template includes a reference data filling area, a consultation dialogue filling area, a database filling area, and a preset design solution result output request;

[0150] sorting the plurality of reference data according to the confidence level and the semantic relevance, and filling them in the reference data filling area in sequence; and

[0151] Filling the consultation dialogue data in the consultation dialogue filling area; and

[0152] Fill in the access method of the building design solution database into the database filling area;

[0153] After filling in, you will get the prompt text of the large language model.

[0154] Optionally, the step of inputting the prompt text into the large language model for query processing to obtain a target design solution output by the large language model, performed by the processor 301, includes:

[0155] Inputting the prompt text into the large language model, and extracting the semantics and intention of the prompt text through the large language model;

[0156] Accessing the building design solution database according to the semantics and intention of the prompt text through the large language model to find out a target building design unit set, wherein the target building design unit set includes multiple target building design units;

[0157] The target building design units in the target building design unit set are combined into at least one target design scheme through the large language model, and at least one of the target design schemes is output.

[0158] Optionally, before the step of constructing a prompt text of the eye model based on the consultation dialogue data and the building design solution database, the method executed by the processor 301 further includes:

[0159] Get multiple sample building design plans;

[0160] Decompose multiple sample building design plans into units to obtain multiple building design units;

[0161] Based on the plurality of building design units, a building design solution database is constructed.

[0162] It should be noted that the electronic device provided in the embodiment of the present invention can be applied to devices such as smart phones, computers, servers, etc. that can perform the building design solution query method.

[0163] The electronic device provided in the embodiment of the present invention can implement each process implemented by the building design solution query method in the above method embodiment, and can achieve the same beneficial effects. To avoid repetition, it will not be described here.

[0164] The above disclosure is only the preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A building design scheme query method, characterized in that: The building design solution query method comprises the following steps: Acquire consultation dialogue data, wherein the consultation dialogue data includes first dialogue data of the customer and second dialogue data of the customer service; Based on the consultation dialogue data and the building design solution database, construct a prompt text of a large language model, wherein the prompt text includes a design solution result output request, and the building design solution database includes a plurality of building design units constituting the building design solution; Inputting the prompt text into the large language model for query processing to obtain a target design solution output by the large language model; The target design solution is returned to the customer.

2. The building design solution query method according to claim 1, characterized in that: The consultation dialogue data is multimodal data, the first dialogue data includes data of at least one mode among text data, visual data and voice data, the second dialogue data includes data of at least one mode among text data, visual data and voice data, and the step of constructing the prompt text of the large language model based on the consultation dialogue data and the building design solution database includes: If the first conversation data includes the visual data and / or the voice data, extracting the visual data and / or the voice data to obtain first data to be searched; If the second conversation data includes the visual data and / or the voice data, searching for context data of the visual data and / or the voice data in the first conversation data, and determining whether the visual data and / or the voice data is the second data to be searched based on the context data; Performing a semantic search on the first to-be-searched data and / or the second to-be-searched data to obtain a plurality of semantically related reference data; Based on the plurality of reference data, the consultation dialogue data and the building design solution database, a prompt text of a large language model is constructed.

3. The building design solution query method according to claim 2, characterized in that: The step of determining whether the visual data and / or the voice data is the second data to be searched according to the context data comprises: Performing semantic extraction on the context data to obtain the semantics of the context data; Determining whether the client approves the video data and / or the voice data according to the semantics of the context data; If it is determined that the client approves the video data and / or the voice data, then determining the video data and / or the voice data as the second data to be searched; If it is determined that the client does not recognize the video data and / or the voice data, it is determined that the video data and / or the voice data are not the second data to be searched.

4. The building design solution query method according to claim 2, characterized in that: The step of performing semantic search on the first to-be-searched data and / or the second to-be-searched data to obtain a plurality of semantically related reference data comprises: Performing semantic search on the first data to be searched and / or the second data to be searched by using the large language model to obtain a plurality of candidate data, each candidate data corresponding to a confidence level output by the large language model and a semantic relevance corresponding to the first data to be searched and / or the second data to be searched; According to the confidence and the semantic relevance, a plurality of reference data are determined from the plurality of candidate data, and the number of the reference data is less than or equal to the number of the candidate data.

5. The building design solution query method according to claim 4, characterized in that: The step of constructing a prompt text of a large language model based on the plurality of reference data, the consultation dialogue data and the building design solution database comprises: Obtaining a prompt template, wherein the prompt template includes a reference data filling area, a consultation dialogue filling area, a database filling area, and a preset design solution result output request; sorting the plurality of reference data according to the confidence level and the semantic relevance, and filling them in the reference data filling area in sequence; and Filling the consultation dialogue data in the consultation dialogue filling area; and Fill in the access method of the building design solution database into the database filling area; After filling in, you will get the prompt text of the large language model.

6. The building design solution query method according to any one of claims 1 to 5, characterized in that: The step of inputting the prompt text into the large language model for query processing to obtain the target design solution output by the large language model comprises: Inputting the prompt text into the large language model, and extracting the semantics and intention of the prompt text through the large language model; Accessing the building design solution database according to the semantics and intention of the prompt text through the large language model to find out a target building design unit set, wherein the target building design unit set includes multiple target building design units; The target building design units in the target building design unit set are combined into at least one target design scheme through the large language model, and at least one of the target design schemes is output.

7. The building design solution query method according to any one of claims 1 to 5, characterized in that: Before the step of constructing a prompt text of a large language model based on the consultation dialogue data and the building design solution database, the method further includes: Get multiple sample building design plans; Decompose multiple sample building design plans into units to obtain multiple building design units; Based on the plurality of building design units, a building design solution database is constructed.

8. A building design scheme query device, characterized in that: The building design solution query device comprises: A first acquisition module, used to acquire consultation dialogue data, wherein the consultation dialogue data includes the first dialogue data of the customer and the second dialogue data of the customer service; A first construction module is used to construct a prompt text of a large language model based on the consultation dialogue data and a building design solution database, wherein the prompt text includes a design solution result output request, and the building design solution database includes a plurality of building design units constituting a building design solution; A query processing module, used for inputting the prompt text into the large language model for query processing, and obtaining a target design solution output by the large language model; A returning module is used to return the target design solution to the customer.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the building design solution query method as described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the building design solution query method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Automobile financial service optimization method, system and equipment based on large language model

    CN119831751A