Processing method and device, electronic equipment and storage medium
By sharing the target message in the conversation message between the model test page and the sharing page, the problem that testers need to enter the same information multiple times in the model test is solved, improving the testing efficiency.
Patent Information
- Application Number
- CN202311550587.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-20
- Publication Date
- 2025-05-23
AI Technical Summary
During the model testing process, testers need to enter the same basic information multiple times, resulting in less testing efficiency.
Provides a method of processing that allows testers to share target messages in conversation messages by displaying model test pages and sharing pages to reduce duplicate input.
By sharing target messages, the number of repeated inputs of messages during model testing is reduced, and the efficiency of model testing is improved.
Smart Images

Figure CN120029895A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to computer technology, and more particularly to a processing method, an apparatus, an electronic device, and a storage medium. Background Art
[0002] With the continuous development of artificial intelligence technology, large language models can be used to capture the context of user input conversation messages and provide intelligent responses. In this process, it is necessary to test the model based on the output results of the large language model in order to find problems with the model. Currently, when testers test the model, they may need to input the same basic information into the model multiple times, resulting in low efficiency of model testing. Summary of the invention
[0003] The present disclosure provides a processing method, an apparatus, an electronic device and a storage medium to improve the efficiency of model testing.
[0004] In a first aspect, an embodiment of the present disclosure provides a processing method, including:
[0005] Displaying a first model test page, the first model test page includes a first message display area, the first message display area includes a dialogue message, the dialogue message includes a first test message and a message output by the current model to be tested in response to the first test message, the first test message is a test message for testing the current model to be tested corresponding to the first message display area;
[0006] In response to a sharing operation on a target message in a conversation message in the first message display area, a sharing page is displayed, wherein identification information of a target model to be tested is displayed on the sharing page, and the target model to be tested is a model to be tested that uses the target message as a context;
[0007] In response to a confirmation operation on the sharing page, the target message is shared.
[0008] In a second aspect, the present disclosure also provides a processing method, including:
[0009] Displaying a second model test page, the second model test page including a conversation list display area, the conversation list display area including a target dialog box corresponding to the target message;
[0010] In response to an opening operation on the target dialog bar, displaying a second message display area corresponding to the target dialog bar;
[0011] In response to an input operation in the second message display area, displaying a second test message and a message output by the target to-be-tested model corresponding to the second message display area with the target message as the context for the second test message;
[0012] The dialog message corresponding to the target test model is shared, and the dialog message corresponding to the target test model is used to test the target test model.
[0013] In a third aspect, the present disclosure also provides a processing device, including:
[0014] A first display module is used to display a first model test page, wherein the first model test page includes a first message display area, wherein the first message display area includes a dialogue message, wherein the dialogue message includes a first test message and a message output by the current model to be tested in response to the first test message, wherein the first test message is a test message for testing the current model to be tested corresponding to the first message display area;
[0015] A second display module is used to display a sharing page in response to a sharing operation on a target message in the conversation message in the first message display area, wherein the sharing page displays identification information of a target model to be tested, wherein the target model to be tested is a model to be tested that uses the target message as a context;
[0016] The first sharing module is used to share the target message in response to a confirmation operation on the sharing page.
[0017] In a fourth aspect, the present disclosure also provides a processing device, including:
[0018] A third display module, configured to display a second model test page, wherein the second model test page includes a conversation list display area, and the conversation list display area includes a target dialog box corresponding to a target message;
[0019] a fourth display module, configured to display a second message display area corresponding to the target dialog bar in response to an opening operation on the target dialog bar;
[0020] A fifth display module, configured to display, in response to an input operation in the second message display area, a second test message and a message output by the target to-be-tested model corresponding to the second message display area with the target message as the context for the second test message;
[0021] The second sharing module is used to share the dialogue message corresponding to the target test model, and the dialogue message corresponding to the target test model is used to test the target test model.
[0022] In a fifth aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0023] one or more processing devices;
[0024] a storage device for storing one or more programs,
[0025] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the method as described in the first aspect.
[0026] In a sixth aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0027] one or more processing devices;
[0028] a storage device for storing one or more programs,
[0029] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the method as described in the second aspect.
[0030] In a seventh aspect, an embodiment of the present disclosure further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the method as described in the first aspect, or to execute the method as described in the second aspect.
[0031] The disclosed embodiment provides a processing method, device, electronic device and storage medium, the method comprising: displaying a first model test page, the first model test page comprising a first message display area, the first message display area comprising a dialogue message, the dialogue message comprising a first test message and a message output by the current model to be tested for the first test message, the first test message being a test message for testing the current model to be tested corresponding to the first message display area; in response to a sharing operation on a target message in the dialogue message on the first message display area, displaying a sharing page, the sharing page displaying identification information of the target model to be tested, the target model to be tested being a model to be tested that will use the target message as context; in response to a confirmation operation on the sharing page, sharing the target message. The above technical solution can share the target message in the dialogue message generated when the current model to be tested is tested, so that the target message can be used as the context when testing the target model to be tested, reducing the number of times the message is repeatedly input during the model testing process, thereby improving the efficiency of the model testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0033] Figure 1 It is a flowchart of a processing method provided by an embodiment of the present disclosure;
[0034] Figure 2 is a schematic diagram of a first model test page provided by an embodiment of the present disclosure;
[0035] Figure 3 is a schematic diagram of a sharing page provided by an embodiment of the present disclosure;
[0036] Figure 4 is a schematic diagram of another first model test page provided by an embodiment of the present disclosure;
[0037] Figure 5 is a flowchart of another processing method provided by an embodiment of the present disclosure;
[0038] Figure 6 is a schematic diagram of a dialogue type selection page provided by an embodiment of the present disclosure;
[0039] Figure 7 is a schematic diagram of another first message display area provided by an embodiment of the present disclosure;
[0040] Figure 8 is a schematic diagram of another first message display area provided by an embodiment of the present disclosure;
[0041] Fig. 9 is a schematic diagram of a preview page provided by an embodiment of the present disclosure;
[0042] Fig.10 is a flowchart of another processing method provided by an embodiment of the present disclosure;
[0043] Fig.11 is a schematic diagram of a second model test page provided by an embodiment of the present disclosure;
[0044] Fig.12 is a schematic diagram of a target message sharing method provided by an embodiment of the present disclosure;
[0045] Fig.13 It is a schematic diagram of a tester logging into a platform for the first time provided by an embodiment of the present disclosure;
[0046] Fig.14It is a schematic diagram of a tester not logging into the platform for the first time provided by an embodiment of the present disclosure;
[0047] Fig.15 is a structural schematic diagram of a processing device provided by an embodiment of the present disclosure;
[0048] Fig.16 is a schematic diagram of the structure of another processing device provided by an embodiment of the present disclosure;
[0049] Fig.17 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure;
[0050] Fig.18 A schematic diagram of the structure of another electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0051] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0052] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0053] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0054] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0055] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0056] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0057] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0058] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0059] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0060] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0061] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of the relevant laws, regulations and relevant provisions, and can only be used to test the model to be tested. The data involved may be the dialogue messages generated when the model to be tested is tested.
[0062] Figure 1 This is a flowchart of a processing method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the case where a target message in a dialog message generated when the current model to be tested is tested is shared. The method can be executed by a processing device, which can be implemented in the form of software and / or hardware and integrated in an electronic device. Optionally, the electronic device can be a mobile terminal, a PC, etc.
[0063] like Figure 1 As shown, the method includes:
[0064] S110. Display a first model test page, wherein the first model test page includes a first message display area, wherein the first message display area includes a dialogue message, wherein the dialogue message includes a first test message and a message output by the current model to be tested in response to the first test message, wherein the first test message is a test message for testing the current model to be tested corresponding to the first message display area.
[0065] The first model test page may be a page for testing the current model to be tested. The current model to be tested may be a model to be tested that is currently in dialogue with the tester, such as a large language model that can implement intelligent question-and-answer dialogue. The first model test page includes a first message display area, which may be an area for displaying dialogue messages between the tester and the current model to be tested.
[0066] The dialogue message displayed in the first message display area may be a message used to test the current model to be tested. The dialogue message includes the first test message and the message output by the current model to be tested in response to the first test message. Among them, the first test message may be a test message used to test the current model to be tested corresponding to the first message display area. After the tester inputs the first test message into the current model to be tested, the current model to be tested can respond to the input first test message, thereby realizing the dialogue between the tester and the current model to be tested. The form of the first test message is not limited, such as a text message, a voice message or a picture message.
[0067] Figure 2 is a schematic diagram of a first model test page provided by an embodiment of the present disclosure. Figure 2 As shown, the first model test page includes a first message display area 1, and the first message display area 1 includes a dialogue message. Among them, user 1 can be regarded as a tester, and the message corresponding to user 1 can be regarded as a first test message 2. User 2 can be regarded as the current model to be tested, and the message corresponding to user 2 can be regarded as a message 3 output by the current model to be tested in automatic response to the first test message 2.
[0068] S120. In response to a sharing operation on a target message in a conversation message in the first message display area, a sharing page is displayed, wherein identification information of a target model to be tested is displayed on the sharing page. The target model to be tested is a model to be tested that uses the target message as a context.
[0069] The target message may be part or all of the messages in the conversation message, which is not limited here. For example, the target message may be a message in the conversation message and the message before the message; the target message may also be a message in the conversation message and the message before the message, after deleting one or more messages therefrom.
[0070] The target message sharing operation may be an operation for determining the target message to be shared in the conversation message and triggering the display of the sharing page. The sharing operation is not limited, as long as the target message to be shared can be determined and the display of the sharing page can be triggered.
[0071] In response to a sharing operation on a target message in a conversation message in the first message display area, the manner of displaying the sharing page is not limited. For example, in the first message display area, for each message in the conversation message, there is a corresponding control for sharing. In response to a tester triggering a control for sharing corresponding to a message in the conversation message (i.e., a sharing operation), the triggered message and the messages before the message can be determined as target messages, and the sharing page can be displayed.
[0072] For another example, in the first message display area, for each message in the conversation message, there is a corresponding control for selection. In response to the tester triggering the control for selection corresponding to a message in the conversation message, the triggered message and the messages before the message are determined; on this basis, one or more of the messages can be deleted, and the message obtained after the deletion is determined as the target message, and the sharing page is displayed. The above-mentioned triggering of the selection control and the operation of deleting the message can be considered as the sharing operation of the target message.
[0073] The target model to be tested is displayed on the sharing page with identification information. The target model to be tested is a model to be tested that uses the target message as context. The target model to be tested may be a model that implements the same or different functions as the current model to be tested, and the target model to be tested may also be a model with a different version than the current model to be tested. The identification information of the target model to be tested may be information used to identify the target model to be tested, such as the name or version number of the target model to be tested.
[0074] Figure 3 is a schematic diagram of a sharing page provided by an embodiment of the present disclosure. Figure 3 As shown, a drop-down selection box 4 may be displayed in the sharing page, and the drop-down selection box 4 is used to select different models to be tested. The model to be tested selected by the drop-down selection box 4 can be regarded as the target model to be tested. After the drop-down selection is completed, the identification information of the target model to be tested can be displayed in the drop-down selection box 4.
[0075] exist Figure 3 An input box 5 may also be displayed, and the input box 5 is used to input the user names of other testers who receive the target message after sharing the target message, so that other testers can receive the target message and use the received target message as the context of the target model to be tested to implement the test of the target model to be tested.
[0076] S130: In response to a confirmation operation on the sharing page, share the target message.
[0077] The confirmation operation may be an operation of confirming that the target message will be shared, and is not specifically limited.
[0078] In response to the confirmation operation on the sharing page, the method of sharing the target message is not limited, such as in response to the submit control ( Figure 3 The triggering (i.e., confirmation operation) of the submit control 6) shown in the figure confirms that the target message will be shared with other testers, so that other testers can use the target message as the context of the target model to be tested to implement the test of the target model to be tested. During the process of other testers testing the target model to be tested, there is no need to have a dialogue with the target model to be tested as indicated by the target message. Among them, the submit control can be a control that triggers confirmation of sharing the target message.
[0079] In one embodiment, the target message may not be shared with other testers, but the same tester may use the target message as the context of the target model to be tested to test the target model to be tested. In this case, the target model to be tested may be the same as the current model to be tested, so that the same tester can test the current model to be tested multiple times, and different conversations can be extended based on the target message in different test rounds when multiple tests are performed; the target model to be tested may also be different from the current model to be tested, so that the same tester can test different models to be tested.
[0080] The disclosed embodiment provides a processing method, device, electronic device and storage medium, the method comprising: displaying a first model test page, the first model test page comprising a first message display area, the first message display area comprising a dialogue message, the dialogue message comprising a first test message and a message output by the current model to be tested for the first test message, the first test message being a test message for testing the current model to be tested corresponding to the first message display area; in response to a sharing operation on a target message in the dialogue message on the first message display area, displaying a sharing page, the sharing page displaying identification information of the target model to be tested, the target model to be tested being a model to be tested that will use the target message as context; in response to a confirmation operation on the sharing page, sharing the target message. The above technical solution can share the target message in the dialogue message generated when the current model to be tested is tested, so that the target message can be used as the context when testing the target model to be tested, reducing the number of times the message is repeatedly input during the model testing process, thereby improving the efficiency of the model testing.
[0081] In one embodiment, the test of the current model to be tested can be implemented in the following manner:
[0082] Displaying a first model test page, the first model test page includes a first message display area, the first message display area includes a dialogue message, the dialogue message includes a first test message and a message output by the current model to be tested in response to the first test message, the first test message is a test message for testing the current model to be tested corresponding to the first message display area;
[0083] The dialog message is shared, where the dialog message is used to test the current model to be tested.
[0084] Figure 4 FIG. 1 is a schematic diagram of another first model test page provided by an embodiment of the present disclosure. Figure 4 As shown, a copy session link control 7 is also displayed in the first model test page. By responding to a click on the copy session link control 7, the conversation message included in the first model test page can be shared.
[0085] The copy session link control 7 may be a control for triggering the sharing of a conversation message. The copy session link control 7 may be displayed on the first model test page by default; or may not be initially displayed on the first model test page, but in response to a click on a control on the first model test page for triggering the display of the copy session link control 7 (such as a click on a sharing control in a conversation bar in the conversation list display area corresponding to the conversation message displayed in the first message display area), the copy session link control 7 is displayed on the first model test page.
[0086] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.
[0087] Figure 5 1 is a flow chart of another processing method provided by an embodiment of the present disclosure, and this embodiment is a detailed description of the above embodiment. Figure 5 As shown, the method includes:
[0088] S510: Display a dialog type selection page, where the dialog type selection page includes a setting control for selecting a dialog type.
[0089] S520. In response to the selection operation of the target control in the setting control on the dialog type selection page, display the first model test page, and the dialog type implemented by the current model to be tested matches the dialog type corresponding to the target control; execute S530 or S540.
[0090] Among them, the dialogue type selection page can be a page for selecting the type of dialogue implemented by the current model to be tested. The type of dialogue implemented by the current model to be tested can be determined according to actual needs, such as medical consultation or medical knowledge popularization. There can be a corresponding setting control for each dialogue type, and the corresponding setting control is used to determine the dialogue type as the type of dialogue implemented by the current model to be tested. The selection operation of the target control can be an operation of selecting any setting control from multiple setting controls, and the selected setting control is the target control.
[0091] Figure 6 FIG. 1 is a schematic diagram of a dialog type selection page provided by an embodiment of the present disclosure. Figure 6 As shown, in the dialogue type selection page, the current model to be tested can provide instruction information 8 for the tester, and the instruction information 8 is used to instruct the tester to select the corresponding dialogue type through different setting controls (such as setting control one or setting control two).
[0092] In response to the selection operation of the target control in the setting controls on the dialogue type selection page, the first model test page is displayed, that is, in response to the triggering of any one of the multiple setting controls on the dialogue type selection page, the triggered setting control is determined as the target control, the dialogue type corresponding to the target control is determined as the type of dialogue implemented by the current model to be tested, and the first model test page is displayed, so that the tester can implement the test of the current model to be tested based on the dialogue type corresponding to the target control on the first model test page.
[0093] S530. In response to a triggering operation on a sharing control corresponding to a first message in the conversation message in the first message display area, display a sharing page, wherein the target message includes the first message and a message before the first message in the conversation message; and execute S550.
[0094] In the first message display area, for each message in the conversation message, there may be a corresponding sharing control for sharing, and the sharing control may be displayed by triggering the corresponding message. The first message may be a message corresponding to the sharing control triggered by a trigger operation in the conversation message. The triggering operation of the sharing control may be an operation of clicking the sharing control.
[0095] Figure 7 FIG. 1 is a schematic diagram of another first message display area provided by an embodiment of the present disclosure. Figure 7 As shown, in response to the triggering operation of the sharing control 10 corresponding to the first message 9 in the conversation message in the first message display area, the first message 9 and the messages before the first message 9 in the conversation message are determined as target messages, and the sharing page is displayed.
[0096] S540. In response to a selection operation on the second message in the conversation message in the first message display area, a preview page is displayed, wherein candidate messages are displayed in the preview page, and the candidate messages include the second message and messages before the second message in the conversation message; in response to a deletion operation on a message to be deleted in the candidate messages, the message to be deleted is deleted in the preview page to obtain the target message; in response to a confirmation operation in the preview page, a sharing page is displayed; wherein the sharing operation includes the selection operation, the deletion operation and the confirmation operation; and S550 is executed.
[0097] In the first message display area, for each message in the dialog message, or for each message output by the current model to be tested in the dialog message, there may be a corresponding selection control for selection. The second message may be the message corresponding to the selection control selected by the selection operation in the dialog message. The selection operation of the second message may be an operation of clicking the selection control corresponding to the second message.
[0098] Figure 8 FIG. 1 is a schematic diagram of another first message display area provided by an embodiment of the present disclosure. Figure 8 As shown, in response to a click (i.e., a selection operation) on the selection control 12 corresponding to the second message 11 in the conversation message in the first message display area, the second message 11 and the messages before the second message 11 in the conversation message are determined as candidate messages, and a preview page is displayed. The preview page is a page for previewing candidate messages, and the candidate messages may be candidate messages for sharing.
[0099] The message to be deleted may be a message to be deleted from the candidate messages, the deletion operation of the message to be deleted may be an operation of clicking a delete control corresponding to the message to be deleted, and the delete control may be a control for deleting the message to be deleted. The message to be deleted may be any message from the candidate messages, or any message corresponding to the tester from the candidate messages.
[0100] Fig. 9 is a schematic diagram of a preview page provided by an embodiment of the present disclosure. Fig. 9 As shown, in response to clicking the delete control 14 corresponding to the message to be deleted 13 in the candidate messages (ie, a delete operation), the message to be deleted is deleted in the preview page to obtain the target message.
[0101] The confirmation operation in the preview page may be an operation for finally confirming the target message to be shared. After deleting the message to be deleted in the preview page, in response to clicking the confirmation control 15 in the preview page (ie, the confirmation operation), the sharing page is displayed.
[0102] S550: In response to a confirmation operation on the sharing page, submitting the dialog interface of the target message to a server.
[0103] Submitting the dialog interface of the target message to the server can enable the server to request the database to return the target message based on the dialog interface of the target message, so as to establish a dialog message with the target message as the context when testing the target model to be tested, thereby realizing the testing of the target model to be tested.
[0104] In one embodiment, the first model test page further includes a model selection area, and the method further includes:
[0105] In response to a selection operation on a model version in the model selection area, the selected current model to be tested is displayed in the model selection area.
[0106] The model selection area may be an area for selecting different model versions. The model version selection operation may be an operation of selecting a version of the current model to be tested.
[0107] A drop-down control for selecting different model versions can be displayed in the model selection area. Different versions of the model to be tested can be displayed by triggering the drop-down control. Then, in response to the selection of any version of the model to be tested (i.e., the model version selection operation), the selected model to be tested is determined as the current model to be tested, and the selected current model to be tested is displayed in the model selection area.
[0108] In one embodiment, the current model to be tested and the target model to be tested are models that implement a diagnosis inquiry function.
[0109] The current model to be tested and the target model to be tested are models that implement the consultation function. Accordingly, the target message determined in the first model test page corresponding to the current model to be tested may be a message that can be shared when conducting a consultation through the current model to be tested or the target model to be tested, such as a conversation related to the basic information of a hypothetical patient.
[0110] Fig.10 It is a flowchart of another processing method provided by the embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation where the dialogue message generated when the target model to be tested is shared. The embodiment of the present disclosure uses the target message shared by the above embodiments as the context of the target model to be tested. The method can be executed by a processing device, which can be implemented in the form of software and / or hardware and integrated in an electronic device. Optionally, the electronic device can be a mobile terminal, a PC, etc.
[0111] like Fig.10 As shown, the method includes:
[0112] S1010. Display a second model test page, where the second model test page includes a conversation list display area, and the conversation list display area includes a target dialog box corresponding to a target message.
[0113] The second model test page may be a page for testing the model corresponding to the recipient of the target message, and the recipient of the target message may be understood as a tester that is the same as or different from the tester in the above-mentioned embodiments. The second model test page includes a conversation list display area, and the conversation list display area may be an area for displaying a conversation bar corresponding to the conversation message under the role of the tester. In actual applications, different conversation messages under the role of the tester may be displayed in the conversation list display area in the form of different conversation bars, and different conversation bars may be identified by different names, which are not limited here. The conversation message may be a message in which the tester talks to the model under test.
[0114] Fig.11 is a schematic diagram of a second model test page provided by an embodiment of the present disclosure. Fig.11 As shown, the second model test page includes a conversation list display area 16, and the conversation list display area 16 includes a plurality of dialog boxes.
[0115] The conversation list display area 16 includes a target dialog bar 17 (i.e., dialog bar 1) corresponding to the target message. The target dialog bar 17 is a dialog bar corresponding to the dialog message including the target message. The target message is obtained through sharing. In order to distinguish the target dialog bar corresponding to the target message from the dialog bars corresponding to other dialog messages, a specific mark 18 can be used to mark the target dialog bar 17 corresponding to the target message. The specific mark 18 can be text or an icon, as long as it can identify the corresponding dialog bar as the target dialog bar corresponding to the target message.
[0116] S1020. In response to an opening operation on the target dialog bar, display a second message display area corresponding to the target dialog bar.
[0117] The opening operation of the target dialog bar may be an operation of opening and displaying the second message display area corresponding to the target dialog bar. The second message display area may be an area for displaying the dialog message between the tester and the target model to be tested. In the second message display area, the dialog between the tester and the target model to be tested may be realized by the input operation of the subsequent step S1030, with the target message as the context.
[0118] like Fig.11As shown, in response to a click operation on the target dialog box 17 (ie, an opening operation of the target dialog box), a second message display area 19 corresponding to the target dialog box is displayed. The dialog message displayed in the second message display area 19 may be a message for testing the target model to be tested.
[0119] S1030. In response to an input operation in the second message display area, display a second test message and a message output by the target model to be tested corresponding to the second message display area with the target message as the context for the second test message.
[0120] The input operation may be an operation in which the tester inputs a second test message in the second message display area. The second test message may be a test message for testing the target model to be tested corresponding to the second message display area. After the tester inputs the second test message into the target model to be tested, the target model to be tested may respond to the input second test message with the target message as the context, thereby realizing a dialogue between the tester and the target model to be tested. The form of the second test message is not limited, and may be a text message, a voice message, or a picture message.
[0121] like Fig.11 As shown, in response to the operation of inputting the second test message in the message input box 20 of the second message display area 19 (i.e., the input operation), the second test message 21 and the message 22 output by the target model to be tested are displayed, and the message 22 output by the target model to be tested is a message output for the second test message 21 with the target message 23 as the context. Among them, user three can be understood as the tester of the target model to be tested, and user four can be understood as the target model to be tested. The target message 23 here is only an exemplary description, and the target message to be shared needs to be determined by the processing method involved in the above embodiment.
[0122] S1040: Share a dialog message corresponding to the target test model, where the dialog message corresponding to the target test model is used to test the target test model.
[0123] like Fig.11 As shown, a sharing identification control 24 may be displayed in the target dialogue bar 17. The sharing identification control 24 may be a control for triggering a dialogue message corresponding to the sharing target dialogue bar 17. The dialogue message corresponding to the target dialogue bar 17 is the dialogue message corresponding to the target test model.
[0124] There is no limitation on the method of sharing the conversation message corresponding to the target test model. For example, in response to triggering the sharing identification control 24, a copy session link control can be displayed above the message input box 20, and the tester can reconfirm the conversation message to be shared. After confirmation, the conversation message corresponding to the target test model can be shared by responding to clicking the copy session link control.
[0125] In one embodiment, the second message display area includes a model display area, and the model display area displays identification information corresponding to the target model to be tested.
[0126] like Fig.11 As shown, the second message display area 19 includes a model display area 25 , and the model display area 25 may be an area for displaying identification information of the target model to be tested corresponding to the second message display area 19 .
[0127] The model display area displays identification information 26 corresponding to the target model to be tested. The identification information 26 corresponding to the target model to be tested may be information for identifying the target model to be tested, such as the name or version number of the target model to be tested.
[0128] The disclosed embodiment provides a processing method, the method comprising: displaying a second model test page, the second model test page comprising a conversation list display area, the conversation list display area comprising a target dialog bar corresponding to a target message; in response to an opening operation on the target dialog bar, displaying a second message display area corresponding to the target dialog bar; in response to an input operation in the second message display area, displaying a second test message and a message outputted by the target to-be-tested model corresponding to the second message display area with the target message as the context for the second test message; sharing a conversation message corresponding to the target test model, the conversation message corresponding to the target test model being used to test the target test model. The above technical scheme can enable the target message to be used as the context for testing the target to-be-tested model based on the sharing of the received target message, thereby reducing the number of repeated message inputs during the model testing process, thereby improving the efficiency of the model testing.
[0129] The following is an exemplary description of the embodiments of the present disclosure:
[0130] The current model to be tested and the target model to be tested involved in the embodiments of the present disclosure can be used for consultation or medical knowledge popularization in medical scenarios. In medical scenarios, the tester can input information based on the hypothetical patient into the model (i.e., the current model to be tested or the target model to be tested), and the model simulates an artificial intelligence (AI) doctor to conduct a leading consultation to implement an evaluation test of the model.
[0131] In the disclosed embodiment, the process of testing the model can be performed on a constructed personal computer (PC) platform. The advantages of testing the model through this platform are as follows:
[0132] Testers can simulate real patient consultation processes, so that AI models can be evaluated and tested in scenarios similar to the real environment;
[0133] At the beginning of the conversation, the tester can choose models of different conversation types (such as medical knowledge popularization or medical consultation), and can also choose different model versions to obtain different information as needed; that is, different AI models can be presented according to the tester's needs, enabling them to select and obtain appropriate medical information;
[0134] Testers can easily share single conversation messages, which not only helps with subsequent analysis and evaluation, but also provides reference for other testers;
[0135] Each time the tester simulates a medical consultation, he or she needs to input the basic information of the hypothetical patient in multiple rounds. In order to reduce the repeated information input in each conversation, the platform supports the tester to start from a certain message in the conversation message of the current model to be tested, identify the message and the message before the message as the target message, and share the target message to the conversation of the target model to be tested. In this way, the previously entered conversation does not need to be entered again, allowing the tester to expand on the basis of the original conversation, thereby reducing redundant information input and improving test efficiency.
[0136] Fig.12 FIG. 1 is a schematic diagram of a target message sharing method provided by an embodiment of the present disclosure. Fig.12 As shown in the figure, the operations of sharing the target message are as follows:
[0137] 1. After the user (i.e., the tester) opens the PC, the World Wide Web (web) can perform the following operations: obtain the user's login status and load the homepage; request the server to obtain the role list, which may include different testers; obtain the list of all conversations of the role, and arrange the messages in reverse order of the time they are sent, that is, obtain the conversation list of the logged-in user, and the conversation list may display a single conversation message under the role in the form of different conversation columns, and different conversation messages may be arranged in reverse order of the time they are sent; request the server to open a conversation in the conversation list, and the server returns all the messages of the conversation, that is, request the server to open a conversation message, and the server returns each message included in the conversation message.
[0138] 2. After the user opens any conversation message, the web requests the server to obtain all messages in the conversation, and pops up a conversation selection message page, so that the user can select a user message in the conversation selection message page. The conversation selection message page can be the first model test page corresponding to the current model to be tested in the embodiment of the present disclosure. The user can determine the first message in the first model test page, and then determine the target message; the user can also determine the second message in the first model test page, and then delete the message to be deleted through the preview page, and finally determine the target message.
[0139] 3. The user submits the target message to the web, and the web submits it to the conversation interface of the target message in the server; the server obtains the conversation information and message list from the database based on the content submitted by the web, copies the original conversation and selects the message, creates a new conversation and existing messages and synchronizes them with the database, that is, the server determines the target message in the original conversation and creates a new conversation based on the target message; the server returns the newly created conversation identifier (Identity Document, ID) to the web.
[0140] 4. The web corresponding to the user who receives the target message refreshes the conversation list and opens a new conversation. The web requests the server to load the new conversation message. The message in the new conversation message uses the target message as the context.
[0141] 5. The user who receives the target message can ask questions on the web, that is, the user who receives the target message can enter the second test message in the second model test page, so that the second test message and the message output by the target model for the second test message with the target message as the context are displayed in the second message display area.
[0142] It should be noted that in Fig.12 In the process shown, the user who submits the target message and the user who receives the target message can be the same user or different users, which is not limited here.
[0143] Fig.13 FIG. 1 is a schematic diagram of a tester logging into the platform for the first time provided by an embodiment of the present disclosure. Fig.13 As shown, the details are as follows:
[0144] 1. After the user (i.e. tester) opens the PC URL, the web can perform the following operations: return the single sign-on (SSO) authorization to the user, allowing the user to successfully log in to the platform; request the server to obtain the role list. If the role list does not include the information of the user who logs in for the first time, jump to create a new role.
[0145] 2. The user enters the role information through the web, and the web requests the server to create a role. After the creation is successful, the server returns the role ID; the web automatically jumps to the new conversation page; the web requests the server to obtain the creation conversation ID, and the server requests the database to store the conversation and make the status invisible; the database returns the created conversation ID to the server.
[0146] 3. The web requests the server to obtain the conversation message based on the conversation ID; the server returns the initial conversation message to the web and instructs the user to select the conversation type; the user selects the conversation type through the web, and the web sends the user-selected conversation type and the corresponding message interface to the server, which returns a message indicating the user-selected conversation type.
[0147] 4. The user asks a question through the web; the web sends the user's question message to the server; the server assembles parameters for the user's question message and requests the model to process it, and the model returns the processed result to the server; the server synchronously saves the result returned by the model and the conversation title to the database, and sets the status to visible for the conversation; the server returns the result of the question to the web.
[0148] 5. The web requests the server to obtain all the messages of the conversation and displays the conversation results on the web; the conversation title is modified in the sidebar through the web, that is, the logo of the conversation bar corresponding to the current message is modified in the conversation list display area.
[0149] Fig.14 Schematic diagram of a tester not logging into the platform for the first time provided by an embodiment of the present disclosure. Fig.14 As shown, the details are as follows:
[0150] 1. After the user (i.e., tester) opens the PC URL, the web can perform the following operations: obtain the user's login status and load the homepage; request the server to obtain a role list, which may include different testers; obtain a list of all conversations of the role, and arrange the messages in reverse order of sending time, that is, obtain the conversation list of the logged-in user, and the conversation list can display a single conversation message under the role in the form of different conversation columns, and different conversation messages can be arranged in reverse order of message sending time.
[0151] 2. If the current user has no conversation list, the web requests the server to call the create conversation interface; the web jumps to the create conversation page; the user selects the conversation type through the web, the web sends the conversation type selected by the user to the server, and the server synchronously saves the conversation to the database and sets the status to invisible; the server returns a message to the web, and the message returned by the server indicates the conversation type selected by the user.
[0152] 3. If the current user has a conversation list, the web requests the server to obtain the list of all messages in the most recent conversation, and the server returns all the messages in the conversation to the web; the user asks questions based on the conversation messages through the web. The processing method after the user asks questions is the same as Fig.13 The processing methods after the user asks questions are basically the same and will not be repeated here.
[0153] Fig.15 is a schematic diagram of the structure of a processing device provided by an embodiment of the present disclosure, such as Fig.15 As shown, the device includes: a first display module 1510 , a second display module 1520 and a first sharing module 1530 .
[0154] A first display module 1510 is used to display a first model test page, wherein the first model test page includes a first message display area, wherein the first message display area includes a dialogue message, wherein the dialogue message includes a first test message and a message output by the current model to be tested in response to the first test message, wherein the first test message is a test message for testing the current model to be tested corresponding to the first message display area;
[0155] A second display module 1520 is used to display a sharing page in response to a sharing operation on a target message in the conversation message in the first message display area, wherein the sharing page displays identification information of a target model to be tested, wherein the target model to be tested is a model to be tested that uses the target message as a context;
[0156] The first sharing module 1530 is configured to share the target message in response to a confirmation operation on the sharing page.
[0157] The technical solution provided by the embodiment of the present disclosure is to display a first model test page through a first display module, the first model test page includes a first message display area, the first message display area includes a dialogue message, the dialogue message includes a first test message and a message output by the current model to be tested for the first test message, the first test message is a test message for testing the current model to be tested corresponding to the first message display area; the second display module responds to the sharing operation of the target message in the dialogue message on the first message display area, and displays a sharing page, the identification information of the target model to be tested is displayed on the sharing page, and the target model to be tested is the model to be tested that will use the target message as the context; the first sharing module responds to the confirmation operation on the sharing page, and shares the target message. This solution can share the target message in the dialogue message generated when the current model to be tested is tested, so that the target message can be used as the context when testing the target model to be tested, reducing the number of times the message is repeatedly input during the model testing process, thereby improving the efficiency of the model testing.
[0158] In one embodiment, the second display module 1520 is specifically used for:
[0159] In response to a triggering operation on a sharing control corresponding to a first message in the conversation message in the first message display area, a sharing page is displayed, wherein the target message includes the first message and messages before the first message in the conversation message.
[0160] In one embodiment, the second display module 1520 is specifically used for:
[0161] In response to a selection operation on a second message in the conversation message in the first message display area, displaying a preview page, wherein candidate messages are displayed on the preview page, and the candidate messages include the second message and messages in the conversation message that precede the second message;
[0162] In response to a deletion operation on a message to be deleted from the candidate messages, deleting the message to be deleted in the preview page to obtain the target message;
[0163] In response to a determination operation in the preview page, displaying a sharing page;
[0164] The sharing operation includes the selecting operation, the deleting operation and the confirming operation.
[0165] In one embodiment, the first display module 1510 is specifically used for:
[0166] Displaying a dialogue type selection page, the dialogue type selection page including a setting control for selecting a dialogue type;
[0167] In response to the selection operation of the target control in the setting control on the dialog type selection page, a first model test page is displayed, and the type of the dialog implemented by the current model to be tested matches the dialog type corresponding to the target control.
[0168] In one embodiment, the first model test page further includes a model selection area, and the device further includes:
[0169] The version selection module is used to display the selected current model to be tested on the model selection area in response to the selection operation of the model version on the model selection area.
[0170] In one embodiment, the current model to be tested and the target model to be tested are models that implement a diagnosis inquiry function.
[0171] In one embodiment, the first sharing module 1530 is specifically configured to:
[0172] Submit the dialog interface of the target message to the server.
[0173] In one embodiment, the apparatus further comprises:
[0174] The dialogue message sharing module is used to share the dialogue message, and the dialogue message is used to test the current model to be tested.
[0175] The processing device provided in the embodiment of the present disclosure can execute the processing method provided in the embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0176] Fig.16 is a schematic diagram of the structure of another processing device provided by an embodiment of the present disclosure, such as Fig.16 As shown, the device includes: a third display module 1610 , a fourth display module 1620 , a fifth display module 1630 and a second sharing module 1640 .
[0177] The third display module 1610 is used to display a second model test page, where the second model test page includes a conversation list display area, where the conversation list display area includes a target dialog box corresponding to a target message;
[0178] The fourth display module 1620 is used to display a second message display area corresponding to the target dialog box in response to an opening operation on the target dialog box;
[0179] A fifth display module 1630, configured to display, in response to an input operation in the second message display area, a second test message and a message output by the target to-be-tested model corresponding to the second message display area with the target message as the context for the second test message;
[0180] The second sharing module 1640 is used to share the dialogue message corresponding to the target test model, and the dialogue message corresponding to the target test model is used to test the target test model.
[0181] The technical solution provided by the embodiment of the present disclosure is to display the second model test page through the third display module, the second model test page includes a conversation list display area, and the conversation list display area includes a target dialog bar corresponding to the target message; the fourth display module responds to the opening operation of the target dialog bar to display the second message display area corresponding to the target dialog bar; the fifth display module responds to the input operation in the second message display area to display the second test message and the target to-be-tested model corresponding to the second message display area outputs the message with the target message as the context for the second test message; the second sharing module shares the dialog message corresponding to the target test model, and the dialog message corresponding to the target test model is used to test the target test model. This solution can enable the target message to be used as the context for testing the target to-be-tested model based on the sharing of the received target message, thereby reducing the number of repeated message inputs during the model testing process, thereby improving the efficiency of the model testing.
[0182] In one embodiment, the second message display area includes a model display area, and the model display area displays identification information corresponding to the target model to be tested.
[0183] The processing device provided in the embodiment of the present disclosure can execute the processing method provided in the embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0184] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
[0185] Fig.17 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Fig.17 , which shows an electronic device (eg, Fig.17 A schematic diagram of the structure of a terminal device or server) 500.
[0186] An electronic device provided in an embodiment of the present disclosure includes:
[0187] one or more processing devices;
[0188] a storage device for storing one or more programs,
[0189] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the processing method provided by the embodiment of the present disclosure.
[0190] The terminal devices in the embodiments of the present disclosure may include but are not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., as well as fixed terminals such as digital TVs, desktop computers, etc. Fig.17 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0191] like Fig.17 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.
[0192] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.17 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0193] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0194] Fig.18 This is a schematic diagram of the structure of another electronic device provided by an embodiment of the present disclosure. Fig.18 , which shows an electronic device (eg, Fig.18 A schematic diagram of the structure of a terminal device or server in (a) 600.
[0195] An electronic device provided in an embodiment of the present disclosure includes:
[0196] one or more processing devices;
[0197] a storage device for storing one or more programs,
[0198] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the processing method provided by the embodiment of the present disclosure.
[0199] The terminal devices in the embodiments of the present disclosure may include but are not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., as well as fixed terminals such as digital TVs, desktop computers, etc. Fig.18 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0200] like Fig.18As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An edit / output (I / O) interface 605 is also connected to the bus 604.
[0201] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.18 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0202] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0203] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0204] The electronic device provided in the embodiment of the present disclosure and the processing method provided in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0205] The embodiments of the present disclosure provide a computer storage medium on which a computer program is stored. When the program is executed by a processor, the processing method provided by the above embodiments is implemented.
[0206] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
[0207] The computer storage medium may be a storage medium of computer executable instructions, which, when executed by a computer processor, are used to perform the methods provided by the present disclosure.
[0208] Computer readable storage media may be, for example, but not limited to: electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate, or transmit a program used by or in combination with an instruction execution system, device, or device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
[0209] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0210] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0211] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: displays a first model test page, the first model test page includes a first message display area, the first message display area includes a dialogue message, the dialogue message includes a first test message and a message output by the current model to be tested in response to the first test message, the first test message is a test message for testing the current model to be tested corresponding to the first message display area; in response to a sharing operation on a target message in the dialogue message on the first message display area, displays a sharing page, the sharing page displays identification information of the target model to be tested, the target model to be tested is a model to be tested that will use the target message as a context; in response to a confirmation operation on the sharing page, shares the target message.
[0212] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: displays a second model test page, the second model test page includes a conversation list display area, the conversation list display area includes a target dialog bar corresponding to the target message; in response to an opening operation of the target dialog bar, displays a second message display area corresponding to the target dialog bar; in response to an input operation in the second message display area, displays a second test message and a message output by the target model to be tested corresponding to the second message display area for the second test message with the target message as the context; shares a dialog message corresponding to the target test model, and the dialog message corresponding to the target test model is used to test the target test model.
[0213] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0214] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0215] The modules or units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a module or unit does not limit the unit itself in some cases.
[0216] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0217] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0218] According to one or more embodiments of the present disclosure, Example 1 provides a processing method, including:
[0219] Displaying a first model test page, the first model test page includes a first message display area, the first message display area includes a dialogue message, the dialogue message includes a first test message and a message output by the current model to be tested in response to the first test message, the first test message is a test message for testing the current model to be tested corresponding to the first message display area;
[0220] In response to a sharing operation on a target message in a conversation message in the first message display area, a sharing page is displayed, wherein identification information of a target model to be tested is displayed on the sharing page, and the target model to be tested is a model to be tested that uses the target message as a context;
[0221] In response to a confirmation operation on the sharing page, the target message is shared.
[0222] According to one or more embodiments of the present disclosure, Example 2 is based on the method described in Example 1,
[0223] The step of displaying a sharing page in response to a sharing operation on a target message in a conversation message in the first message display area includes:
[0224] In response to a triggering operation on a sharing control corresponding to a first message in the conversation message in the first message display area, a sharing page is displayed, wherein the target message includes the first message and messages before the first message in the conversation message.
[0225] According to one or more embodiments of the present disclosure, Example 3 is the method according to Example 1,
[0226] The step of displaying a sharing page in response to a sharing operation on a target message in a conversation message in the first message display area includes:
[0227] In response to a selection operation on a second message in the conversation message on the first message display area, displaying a preview page, wherein candidate messages are displayed on the preview page, and the candidate messages include the second message and messages in the conversation message that precede the second message;
[0228] In response to a deletion operation on a message to be deleted from the candidate messages, deleting the message to be deleted in the preview page to obtain the target message;
[0229] In response to a determination operation in the preview page, displaying a sharing page;
[0230] The sharing operation includes the selecting operation, the deleting operation and the confirming operation.
[0231] According to one or more embodiments of the present disclosure, Example 4 is the method according to Example 1,
[0232] The displaying of the first model test page includes:
[0233] Displaying a dialogue type selection page, the dialogue type selection page including a setting control for selecting a dialogue type;
[0234] In response to the selection operation of the target control in the setting control on the dialog type selection page, a first model test page is displayed, and the type of the dialog implemented by the current model to be tested matches the dialog type corresponding to the target control.
[0235] According to one or more embodiments of the present disclosure, Example 5 is based on the method described in Example 1,
[0236] The first model test page also includes a model selection area, and the method further includes:
[0237] In response to a selection operation on a model version in the model selection area, the selected current model to be tested is displayed in the model selection area.
[0238] According to one or more embodiments of the present disclosure, Example 6 is based on the method described in Example 1,
[0239] The current model to be tested and the target model to be tested are models that implement a diagnosis inquiry function.
[0240] According to one or more embodiments of the present disclosure, Example 7 is the method according to Example 1,
[0241] The sharing of the target message includes:
[0242] Submit the dialog interface of the target message to the server.
[0243] According to one or more embodiments of the present disclosure, Example 8 is the method according to Example 1, further comprising:
[0244] The dialog message is shared, where the dialog message is used to test the current model to be tested.
[0245] According to one or more embodiments of the present disclosure, Example 9 provides a processing method, including:
[0246] Displaying a second model test page, the second model test page including a conversation list display area, the conversation list display area including a target dialog box corresponding to the target message;
[0247] In response to an opening operation on the target dialog bar, displaying a second message display area corresponding to the target dialog bar;
[0248] In response to an input operation within the second message display area, display a second test message and a message output by the target model to be tested corresponding to the second message display area for the second test message with the target message as the context.
[0249] Share the conversation message corresponding to the target test model, where the conversation message corresponding to the target test model is used to test the target test model.
[0250] According to one or more embodiments of the present disclosure, Example 10 is based on the method described in Example 9.
[0251] The second message display area includes a model display area, and the model display area displays identification information corresponding to the target model to be tested.
[0252] According to one or more embodiments of the present disclosure, Example 11 provides a processing device, including:
[0253] A first display module for displaying a first model test page. The first model test page includes a first message display area, and the first message display area includes conversation messages. The conversation messages include a first test message and a message output by the current model to be tested for the first test message. The first test message is a test message for testing the current model to be tested corresponding to the first message display area.
[0254] A second display module for, in response to a sharing operation on a target message in the conversation messages within the first message display area, displaying a sharing page. The sharing page displays identification information of the target model to be tested, where the target model to be tested is a model to be tested that uses the target message as the context.
[0255] A first sharing module for, in response to a confirmation operation on the sharing page, sharing the target message.
[0256] According to one or more embodiments of the present disclosure, Example 12 provides a processing device, including:
[0257] A third display module for displaying a second model test page. The second model test page includes a session list display area, and the session list display area includes a target conversation bar corresponding to the target message.
[0258] A fourth display module for, in response to an open operation on the target conversation bar, displaying a second message display area corresponding to the target conversation bar.
[0259] A fifth display module, configured to display, in response to an input operation in the second message display area, a second test message and a message output by the target to-be-tested model corresponding to the second message display area with the target message as the context for the second test message;
[0260] The second sharing module is used to share the dialogue message corresponding to the target test model, and the dialogue message corresponding to the target test model is used to test the target test model.
[0261] According to one or more embodiments of the present disclosure, Example 13 provides an electronic device, the electronic device comprising:
[0262] one or more processing devices;
[0263] a storage device for storing one or more programs,
[0264] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the processing method provided by the embodiment of the present disclosure.
[0265] According to one or more embodiments of the present disclosure, Example 14 provides an electronic device, the electronic device comprising:
[0266] one or more processing devices;
[0267] a storage device for storing one or more programs,
[0268] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the processing method provided by the embodiment of the present disclosure.
[0269] According to one or more embodiments of the present disclosure, Example 15 provides a storage medium containing computer executable instructions, which are used to execute the processing method provided by the embodiments of the present disclosure when executed by a computer processor.
[0270] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0271] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0272] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A processing method, It is characterized in that include: Displaying a first model test page, the first model test page includes a first message display area, the first message display area includes a dialogue message, the dialogue message includes a first test message and a message output by the current model to be tested in response to the first test message, the first test message is a test message for testing the current model to be tested corresponding to the first message display area; In response to a sharing operation on a target message in a conversation message in the first message display area, a sharing page is displayed, wherein identification information of a target model to be tested is displayed on the sharing page, and the target model to be tested is a model to be tested that uses the target message as a context; In response to a confirmation operation on the sharing page, the target message is shared.
2. The method according to claim 1, It is characterized in that The step of displaying a sharing page in response to a sharing operation on a target message in a conversation message in the first message display area includes: In response to a triggering operation on a sharing control corresponding to a first message in the conversation message in the first message display area, a sharing page is displayed, wherein the target message includes the first message and messages before the first message in the conversation message.
3. The method according to claim 1, It is characterized in that The step of displaying a sharing page in response to a sharing operation on a target message in a conversation message in the first message display area includes: In response to a selection operation on a second message in the conversation message on the first message display area, displaying a preview page, wherein candidate messages are displayed on the preview page, and the candidate messages include the second message and messages in the conversation message that precede the second message; In response to a deletion operation on a message to be deleted from the candidate messages, deleting the message to be deleted in the preview page to obtain the target message; In response to a determination operation in the preview page, displaying a sharing page; The sharing operation includes the selecting operation, the deleting operation and the confirming operation.
4. The method according to claim 1, It is characterized in that The displaying of the first model test page includes: Displaying a dialogue type selection page, the dialogue type selection page including a setting control for selecting a dialogue type; In response to the selection operation of the target control in the setting control on the dialog type selection page, a first model test page is displayed, and the type of the dialog implemented by the current model to be tested matches the dialog type corresponding to the target control.
5. The method according to claim 1, It is characterized in that The first model test page also includes a model selection area, and the method further includes: In response to a selection operation on a model version in the model selection area, the selected current model to be tested is displayed in the model selection area.
6. The method according to claim 1, It is characterized in that The current model to be tested and the target model to be tested are models that implement a diagnosis inquiry function.
7. The method according to claim 1, It is characterized in that The sharing of the target message includes: Submit the dialog interface of the target message to the server.
8. The method according to claim 1, It is characterized in that Also includes: The dialog message is shared, where the dialog message is used to test the current model to be tested.
9. A method of treatment, It is characterized in that include: Displaying a second model test page, the second model test page including a conversation list display area, the conversation list display area including a target dialog box corresponding to the target message; In response to an opening operation on the target dialog bar, displaying a second message display area corresponding to the target dialog bar; In response to an input operation in the second message display area, displaying a second test message and a message output by the target to-be-tested model corresponding to the second message display area with the target message as the context for the second test message; The dialog message corresponding to the target test model is shared, and the dialog message corresponding to the target test model is used to test the target test model.
10. The method according to claim 9, It is characterized in that The second message display area includes a model display area, and the model display area displays identification information corresponding to the target model to be tested.
11. A processing device, It is characterized in that include: A first display module is used to display a first model test page, wherein the first model test page includes a first message display area, wherein the first message display area includes a dialogue message, wherein the dialogue message includes a first test message and a message output by the current model to be tested in response to the first test message, wherein the first test message is a test message for testing the current model to be tested corresponding to the first message display area; A second display module is used to display a sharing page in response to a sharing operation on a target message in the conversation message in the first message display area, wherein the sharing page displays identification information of a target model to be tested, wherein the target model to be tested is a model to be tested that uses the target message as a context; The first sharing module is used to share the target message in response to a confirmation operation on the sharing page.
12. A processing device, It is characterized in that include: A third display module, configured to display a second model test page, wherein the second model test page includes a conversation list display area, and the conversation list display area includes a target dialog box corresponding to a target message; a fourth display module, configured to display a second message display area corresponding to the target dialog bar in response to an opening operation on the target dialog bar; A fifth display module, configured to display, in response to an input operation in the second message display area, a second test message and a message output by the target to-be-tested model corresponding to the second message display area with the target message as the context for the second test message; The second sharing module is used to share the dialogue message corresponding to the target test model, and the dialogue message corresponding to the target test model is used to test the target test model.
13. An electronic device, It is characterized in that The electronic device comprises: one or more processing devices; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the method according to any one of claims 1 to 8.
14. An electronic device, It is characterized in that The electronic device comprises: one or more processing devices; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the method according to any one of claims 9 to 10.
15. A storage medium comprising computer executable instructions, which when executed by a computer processor are used to perform the method according to any one of claims 1 to 10.