IM automatic chatting system in house renting field based on combination of regular matching and openAI

By combining regular matching and openAI technology in the IM system of the rental platform, it can quickly identify and respond to users' rental needs, solving the problem that traditional systems cannot respond quickly and accurately, and improving service efficiency and user experience.

CN119342025APending Publication Date: 2025-01-21XIANGYU HUIYU (SHANGHAI) INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411239639.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

The traditional rental platform IM system cannot quickly and accurately understand and respond to users’ rental needs, resulting in increased time and energy costs for users to obtain rental information, and reduced service efficiency of intermediaries or platforms.

Method used

An IM automatic chat system based on a combination of regular matching and openAI is used. Through the regular matching module and OpenAI module, it can quickly identify user problems, extract rental needs, and provide intelligent replies and housing recommendations.

Benefits of technology

It improves the service efficiency of housing agencies or platforms, optimizes user experience, and enables rapid and accurate understanding and response to user needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342025A_ABST
    Figure CN119342025A_ABST
Patent Text Reader

Abstract

The invention discloses a house renting field IM automatic chat system based on the combination of regular matching and openAI, and the system comprises a regular matching module, an OpenAI module, a question receiving module, a basic reply module, an intelligent reply module, a demand extraction module, a house resource recommendation module, a contact information obtaining module, a reservation and watching module, a server, a database, and a central processing unit. The regular matching module, the OpenAI module, the question receiving module, the basic reply module, the intelligent reply module, the demand extraction module, the housing resource recommendation module, the contact information acquisition module, the reservation and watching module, the server and the database are all connected with the central processing unit. According to the invention, through combination of regular matching and the openAI technology, the system can quickly and accurately identify user questions and give corresponding replies, and simultaneously extract user demands in real time and recommend appropriate house resources, thereby greatly improving the service efficiency of a house agency or platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automatic chat technology, and in particular to an IM automatic chat system in the field of house rental based on the combination of regular matching and openAI. Background Art

[0002] In the current rental market, users often submit their rental needs to real estate agencies or platforms through instant messaging (IM) systems. However, traditional rental platform IM systems usually only provide manual text interaction functions and cannot accurately and quickly understand and respond to users' rental needs. This not only increases the time and energy cost of users to obtain rental information, but also reduces the service efficiency of real estate agencies or platforms. Summary of the invention

[0003] The purpose of the present invention is to provide an IM automatic chat system in the field of house rental based on regular matching combined with openAI to solve the problems in the prior art.

[0004] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: an IM automatic chat system in the field of house rental based on the combination of regular matching and openAI, comprising: a regular matching module, an OpenAI module, a question receiving module, a basic reply module, an intelligent reply module, a demand extraction module, a house source recommendation module, a contact information acquisition module, an appointment and viewing module, a server, a database and a central processing unit, wherein the regular matching module, the OpenAI module, the question receiving module, the basic reply module, the intelligent reply module, the demand extraction module, the house source recommendation module, the contact information acquisition module, the appointment and viewing module, the server and the database are all connected to the central processing unit; Database for storing rental information, frequently asked questions and their answers; A regular expression matching module matches user questions according to preset regular expressions to identify the type of user questions; OpenAI module, used to perform intelligent analysis on matching failures; A question receiving module, used for receiving text messages sent by users; The basic reply module is used to provide template replies to questions successfully matched by the regular matching module; Intelligent reply module, used to provide intelligent replies to questions analyzed by the OpenAI module; The demand extraction module uses the openAI model to analyze user text in real time and extract the user's rental needs; The house recommendation module selects houses that meet the user's needs from the database and recommends them to the user based on the extracted user needs. Contact information acquisition module: During the chat process, the system attempts to extract the user's contact information; The appointment viewing module generates a viewing form and provides users with appointment viewing services.

[0005] Preferably, a test module is also included to test the functional modules in the system.

[0006] Preferably, an optimization module is also included to collect user feedback and continuously optimize the regular matching rules and OpenAI's training data.

[0007] Preferably, the regular matching module specifically matches the user's basic questions by defining regular expressions, and prepares corresponding preset responses for each matching question.

[0008] Preferably, the OpenAI module specifically constructs a suitable request body according to the user's input and parses the result returned by OpenAI.

[0009] Preferably, the user's housing rental requirements include rental location, budget range, house type, and number of bedrooms.

[0010] Preferably, the automatic chatting method comprises the following steps: S1. User question reception: The system receives text messages sent by users through the IM system; S2, regular expression matching and basic reply: The system uses the preset regular expression to match the user's question to identify the user's question type; if the match is successful, the system selects the corresponding reply content from the preset reply template according to the matching result, and assembles it through the freemarker template technology to generate the final reply; S3, openAI intelligent reply: If the regular expression matching fails, the system sends the user's question to the openAI model for intelligent analysis and reply; the openAI model generates the corresponding reply content according to the user's question, and the system assembles it again through the freemarker template technology to generate the final reply; S4. User demand extraction: During the chat process, the system uses the openAI model to analyze user text in real time and extract the user's rental needs; S5. House recommendation: Based on the extracted user needs, the system selects houses that meet the user needs from the house database and recommends them to the user; S6. Obtaining user contact information and making an appointment for viewing: During the chat process, the system attempts to extract the user's contact information, generate a viewing form, and provide the user with an appointment service for viewing.

[0011] Compared with the prior art, the present invention has the following beneficial effects: Improve service efficiency: Through the combination of regular matching and openAI technology, the system can quickly and accurately identify user questions and give corresponding responses, while extracting user needs in real time and recommending suitable properties, greatly improving the service efficiency of real estate agencies or platforms.

[0012] Optimize user experience: The system can meet users' personalized needs in real time and provide a more considerate and intelligent service experience.

[0013] High degree of intelligence: The system uses the openAI model to provide intelligent responses and extract user needs. It has a high degree of intelligence and can better understand and meet user needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings: Figure 1 It is a schematic diagram of the present invention. DETAILED DESCRIPTION

[0015] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention.

[0016] See also Figure 1 In an embodiment of the present invention, an IM automatic chat system in the field of house rental based on the combination of regular matching and openAI includes: a regular matching module, an OpenAI module, a question receiving module, a basic reply module, an intelligent reply module, a demand extraction module, a house source recommendation module, a contact information acquisition module, an appointment and viewing module, a server, a database and a central processing unit, wherein the regular matching module, the OpenAI module, the question receiving module, the basic reply module, the intelligent reply module, the demand extraction module, the house source recommendation module, the contact information acquisition module, the appointment and viewing module, the server and the database are all connected to the central processing unit; Database for storing rental information, frequently asked questions and their answers; A regular expression matching module matches user questions according to preset regular expressions to identify the type of user questions; OpenAI module, used to perform intelligent analysis on matching failures; A question receiving module, used for receiving text messages sent by users; The basic reply module is used to provide template replies to questions successfully matched by the regular matching module; Intelligent reply module, used to provide intelligent replies to questions analyzed by the OpenAI module; The demand extraction module uses the openAI model to analyze user text in real time and extract the user's rental needs; The house recommendation module selects houses that meet the user's needs from the database and recommends them to the user based on the extracted user needs. Contact information acquisition module: During the chat process, the system attempts to extract the user's contact information; The appointment viewing module generates a viewing form and provides users with appointment viewing services.

[0017] Preferably, a test module is also included to test the functional modules in the system.

[0018] Preferably, an optimization module is also included to collect user feedback and continuously optimize the regular matching rules and OpenAI's training data.

[0019] Preferably, the regular matching module specifically matches the user's basic questions by defining regular expressions, and prepares corresponding preset responses for each matching question.

[0020] Preferably, the OpenAI module specifically constructs a suitable request body according to the user's input and parses the result returned by OpenAI.

[0021] Preferably, the user's housing rental requirements include rental location, budget range, house type, and number of bedrooms.

[0022] Preferably, the automatic chatting method comprises the following steps: S1. User question reception: The system receives text messages sent by users through the IM system; S2, regular expression matching and basic reply: The system uses the preset regular expression to match the user's question to identify the user's question type; if the match is successful, the system selects the corresponding reply content from the preset reply template according to the matching result, and assembles it through the freemarker template technology to generate the final reply; S3, openAI intelligent reply: If the regular expression matching fails, the system sends the user's question to the openAI model for intelligent analysis and reply; the openAI model generates the corresponding reply content according to the user's question, and the system assembles it again through the freemarker template technology to generate the final reply; S4. User demand extraction: During the chat process, the system uses the openAI model to analyze user text in real time and extract the user's rental needs; S5. House recommendation: Based on the extracted user needs, the system selects houses that meet the user needs from the house database and recommends them to the user; S6. Obtaining user contact information and making an appointment for viewing: During the chat process, the system attempts to extract the user's contact information, generate a viewing form, and provide the user with an appointment service for viewing.

[0023] The working principle of the present invention is: user question reception: the system receives text messages sent by users through the IM system; regular matching and basic replies: the system uses preset regular expressions to match user questions to identify the type of user questions; if the match is successful, the corresponding reply content is selected from the preset reply template according to the matching result, and the final reply is generated by assembling through the freemarker template technology; openAI intelligent reply: if the regular matching fails, the system sends the user question to the openAI model for intelligent analysis and reply; the openAI model generates corresponding reply content according to the user question, and the system assembles the final reply again through the freemarker template technology; user demand extraction: during the chat process, the system analyzes the user text in real time through the openAI model to extract the user's rental demand; house source recommendation: based on the extracted user demand, the system screens out houses that meet the user's demand from the house source database and recommends them to the user; user contact information acquisition and appointment viewing: during the chat process, the system tries to extract the user's contact information, generates a viewing form and provides the user with an appointment viewing service.

[0024] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. An IM automatic chat system for the rental housing field based on regular matching and openAI, characterized in that: include: A regular matching module, an OpenAI module, a question receiving module, a basic reply module, an intelligent reply module, a demand extraction module, a house recommendation module, a contact information acquisition module, a reservation and viewing module, a server, a database and a central processing unit, wherein the regular matching module, the OpenAI module, the question receiving module, the basic reply module, the intelligent reply module, the demand extraction module, the house recommendation module, the contact information acquisition module, the reservation and viewing module, the server and the database are all connected to the central processing unit; Database for storing rental information, frequently asked questions and their answers; A regular expression matching module matches user questions according to preset regular expressions to identify the type of user questions; OpenAI module, used to perform intelligent analysis on matching failures; A question receiving module, used for receiving text messages sent by users; The basic reply module is used to provide template replies to questions successfully matched by the regular matching module; Intelligent reply module, used to provide intelligent replies to questions analyzed by the OpenAI module; The demand extraction module uses the openAI model to analyze user text in real time and extract the user's rental needs; The house recommendation module selects houses that meet the user's needs from the database and recommends them to the user based on the extracted user needs. Contact information acquisition module: During the chat process, the system attempts to extract the user's contact information; The appointment viewing module generates a viewing form and provides users with appointment viewing services.

2. According to claim 1, an IM automatic chat system in the field of house rental based on regular matching and openAI, characterized in that: It also includes a test module for testing the functional modules in the system.

3. According to claim 1, an IM automatic chat system in the field of house rental based on regular matching and openAI is characterized in that: It also includes an optimization module to collect user feedback and continuously optimize regular matching rules and OpenAI's training data.

4. According to claim 1, an IM automatic chat system in the field of house rental based on regular matching and openAI is characterized in that: The regular matching module specifically matches the user's basic questions by defining regular expressions and prepares corresponding preset responses for each matching question.

5. According to claim 1, an IM automatic chat system in the field of house rental based on regular matching and openAI is characterized in that: The OpenAI module specifically constructs a suitable request body according to the user's input and parses the result returned by OpenAI.

6. According to claim 1, an IM automatic chat system in the field of house rental based on regular matching and openAI is characterized in that: The user's housing rental requirements include rental location, budget range, house type, and number of bedrooms.

7. According to claim 1, an IM automatic chat system in the field of house rental based on regular matching and openAI is characterized in that: The automatic chat method includes the following steps: S1. User question reception: The system receives text messages sent by users through the IM system; S2, regular expression matching and basic reply: The system uses the preset regular expression to match the user's question to identify the user's question type; if the match is successful, the system selects the corresponding reply content from the preset reply template according to the matching result, and assembles it through the freemarker template technology to generate the final reply; S3, openAI intelligent reply: If the regular expression matching fails, the system sends the user's question to the openAI model for intelligent analysis and reply; the openAI model generates the corresponding reply content according to the user's question, and the system assembles it again through the freemarker template technology to generate the final reply; S4. User demand extraction: During the chat process, the system uses the openAI model to analyze user text in real time and extract the user's rental needs; S5. House recommendation: Based on the extracted user needs, the system selects houses that meet the user needs from the house database and recommends them to the user; S6. Obtaining user contact information and making an appointment for viewing: During the chat process, the system attempts to extract the user's contact information, generate a viewing form, and provide the user with an appointment service for viewing.