Method and equipment for automatically testing in-vehicle infotainment system
By performing data processing and evaluation on the questionnaires answered by the large car and machine models, and using the referee large model to evaluate the performance of the large car and machine models, the problems of low testing efficiency and inaccurate scoring in the existing technology have been solved, and an efficient and accurate car and machine model has been achieved. Automated testing.
Patent Information
- Application Number
- CN202410984439.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-10-11
AI Technical Summary
The testing of the vehicle-machine system in the existing technology lacks automation, is low in efficiency, and has a single and inaccurate scoring index, making it impossible to effectively evaluate the performance of the large-scale vehicle-machine model.
By collecting questionnaire responses from large vehicle and machine models, we perform data processing and distinction marking, compare and evaluate the response content, calculate the final score, and use the referee large model for scoring, including using regular expression matching, calling the benchmark large model API, and integrating it into a JSONL document Enter the referee large model to obtain evaluation results and perform metric evaluation based on answer type labels.
It achieves efficient and accurate evaluation of the performance of large vehicle and machine models, provides automated testing methods, improves testing efficiency and scoring accuracy, and can display precision, recall rate and F1 score in real time.
Smart Images

Figure CN118760604A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computers, and in particular to a method and device for automated testing of vehicle computers. Background Art
[0002] At present, with the development of the new energy vehicle industry, new car-machine systems are constantly being introduced. The car-machine systems have many applications and complex functions. Large models are gradually used in the car-machine systems. Large models are used for speech recognition, image recognition, etc. The testing of car-machine systems also includes performance testing of large models. Currently, the testing of large car-machine models is mainly manual testing, which has not been automated, has low efficiency and a relatively single testing format. Summary of the invention
[0003] One purpose of the present application is to provide a method and device for automated testing of vehicle computers, so as to solve the problems in the existing technical evaluation methods that the vehicle computer system cannot be automatically tested, the test efficiency is low, and the scoring indicators are single and inaccurate.
[0004] According to one aspect of the present application, a method for automated testing of a vehicle computer is provided, the method comprising:
[0005] Collecting the answered questionnaires of the current vehicle computer large model, performing data processing on the answered questionnaires, and storing the processed question contents and answer contents in the first document;
[0006] Performing distinguishing marks on the data in the first document, and obtaining new answer content about the question content according to the distinguishing marks to determine the second document;
[0007] Comparing and evaluating the answer content in the first document and the answer content in the second document to obtain an evaluation result;
[0008] The evaluation results are collected and scored to obtain the final score data of the current vehicle model.
[0009] Optionally, distinguishing marks are performed on the data in the first document, and new answer content about the question content is obtained according to the distinguishing marks to determine the second document, including:
[0010] Distinguish the question content and answer content, label them, and store the labeled data in a CSV document;
[0011] The question content column in the CSV document is extracted, and the corresponding new answer content column is obtained, and the answer content column is written into the CSV document to obtain a second document.
[0012] Optionally, distinguish the question content from the answer content and label them, including:
[0013] Use regular expressions to match speakers and timestamps, and enable matching across multiple lines;
[0014] Find all speakers and the locations where their conversations begin, traverse the conversations, and extract each speaker's conversation;
[0015] The question content and answer content are obtained based on the conversation of each speaker, and are labeled separately.
[0016] Optionally, obtain the corresponding new answer content column, including:
[0017] The application program interface of the benchmark large model is called to obtain the answer content corresponding to the question content column, and obtain a new answer content column.
[0018] Optionally, comparing and evaluating the answer content in the first document and the answer content in the second document includes:
[0019] Integrate the question content column and all answer content columns in the second document into a question template and write it into a JSONL document;
[0020] Input the JSONL document into the referee model to obtain the evaluation results.
[0021] Optionally, the JSONL document is input into the referee model to obtain the evaluation results, including:
[0022] Input the JSONL document into the referee model, read the document information, and write it into the list line by line;
[0023] The list contents are evaluated one by one through the judging model combined with the question template to obtain the evaluation results.
[0024] Optionally, the evaluation results are collected and scored to obtain the final scoring data of the current vehicle model, including:
[0025] Collect the evaluation results and the corresponding input content in turn and write them into the JSON file again;
[0026] Read the keywords in the collected evaluation results and mark the corresponding answer type tags;
[0027] The score of the indicator items is estimated according to the answer type label and the comprehensive score is calculated to obtain the final score data, which is then displayed on the vehicle computer. The indicator items include precision, recall rate and F1 score.
[0028] Optionally, collect answers to the questionnaire of the current large vehicle model, including any of the following methods:
[0029] Collect the user's answers to the questionnaire about the dialogue between the user and the current car machine using the big model;
[0030] Collect answers to the questionnaire from the bionic mouth robot simulating the user's conversation with the current car computer using a large model.
[0031] According to another aspect of the present application, a vehicle computer automated testing device is also provided, the device comprising:
[0032] one or more processors; and
[0033] A memory storing computer readable instructions, which, when executed, cause the processor to perform the operations of the method as described above.
[0034] According to another aspect of the present application, a computer-readable medium is provided, on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement the method described above.
[0035] Compared with the prior art, the present application collects the answer questionnaires of the current large vehicle model, processes the answer questionnaires, stores the processed questions and answers in the first document, distinguishes and marks the data in the first document, obtains new answers about the questions according to the distinguishing marks to determine the second document, compares and evaluates the answers in the first document and the answers in the second document to obtain the evaluation results, collects the evaluation results and calculates the scores to obtain the final score data of the current large vehicle model. In this way, the performance of the large vehicle model can be evaluated efficiently and accurately, and the automatic vehicle test can be performed. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0037] Figure 1 A schematic diagram of a method flow for automated vehicle computer testing according to one aspect of the present application is shown;
[0038] Figure 2 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown.
[0039] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION
[0040] The present application is described in further detail below in conjunction with the accompanying drawings.
[0041] In a typical configuration of the present application, the terminal, the device of the service network and the trusted party all include one or more processors (eg, a central processing unit (CPU)), an input / output interface, a network interface and a memory.
[0042] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0043] Computer readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, Phase-Change RAM (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of random access memory (RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. According to the definition in this article, computer-readable media does not include non-transitory media such as modulated data signals and carrier waves.
[0044] Figure 1 A schematic flow chart of a method for automated vehicle computer testing according to one aspect of the present application is shown, the method comprising: steps S11 to S14,
[0045] Step S11, collect the answer questionnaire of the current car computer large model, perform data processing on the answer questionnaire, and store the processed question content and answer content in the first document; here, test the large model on the car computer, collect the answer questionnaire obtained by using the large model, and collect the answer questionnaire including two parts, question and answer, and then perform data processing on the answer questionnaire, and the data processing includes data cleaning and voice-to-text conversion. After processing, the question content and answer content are extracted, that is, the question column and content column are obtained, and these contents are stored in the first document, which is a txt document, and the first document can also be marked as document one.
[0046] It should be noted that large models refer to machine learning models with large-scale parameters and complex computational structures. These models are usually built with deep neural networks and have billions or even hundreds of billions of parameters. Large models are designed to improve the expressiveness and predictive performance of the model and to handle more complex tasks and data. Large models are widely used in various fields, including natural language processing, computer vision, speech recognition, and recommendation systems. Large models learn complex patterns and features by training massive amounts of data, have stronger generalization capabilities, and can make accurate predictions on unseen data. Large models usually have stronger learning and generalization capabilities and can perform well on a variety of tasks, including natural language processing, image recognition, speech recognition, etc. Large models can also perform multi-task learning. Large models usually learn multiple different natural language processing (NLP, Neuro-Linguistic Programming) tasks together, such as machine translation, text summarization, question-answering systems, etc.
[0047] Step S12, distinguish and mark the data in the first document, and obtain new answer content about the question content according to the distinguishing mark to determine the second document; here, filter the content in the first document, distinguish questions and answers and distinguish them by labels, store the labeled differentiated data in csv, extract the question column according to which are marked as questions and which are answers, and re-obtain the answer content of other large models compared with the vehicle-computer large model for the extracted question column, such as obtaining the answer content of the benchmark large model, which is a comparison model used to measure the comprehensive performance of the vehicle-computer large model of the tested vehicle; write the answer content of the benchmark large model into csv, thereby forming a new document, i.e., the second document, which can be marked as document two.
[0048] Step S13, compare and evaluate the answer content in the first document and the answer content in the second document to obtain the evaluation result; here, extract the answer column in the first document and the answer column in the second document, compare the answer content in the first document and the answer content in the second document, evaluate which answer is better, and obtain the evaluation result. Then, in step S14, collect the evaluation results and calculate the score to obtain the final score data of the current vehicle model. After comparing and evaluating the answer content of the vehicle model and the answer content of the comparison model, collect these evaluations, and score the performance of the vehicle model based on these evaluations to obtain the score of each indicator item and the comprehensive score, which are displayed on the vehicle display screen.
[0049] In some embodiments of the present application, in step S12, the question content and the answer content are distinguished and labeled, and the labeled data is stored in a CSV document; the question content column in the CSV document is extracted, and the corresponding new answer content column is obtained, and the answer content column is written into the CSV document to obtain a second document. Here, the content in the first document is screened, and the questions and answers are distinguished by a regularization algorithm, and the labeled distinction is performed, and the distinguished data is written into a csv, the question column in the csv document is extracted, and the answer content of the comparison model obtained for comparison with the large model of the vehicle machine about the question column is written into the csv document to obtain a second document.
[0050] Specifically, when labeling, use regular expressions to match speakers and timestamps, and enable matching across multiple lines; find the starting position of all speakers and their conversations, traverse the conversations, and extract each speaker's conversation; obtain the question content and answer content based on each speaker's conversation, and label them separately. Here, use regular expressions to match speakers and timestamps, and enable matching across multiple lines, so as to find the starting position of all speakers and their conversations, traverse each speaker's conversation from the beginning of the conversation, extract the questions and answers in the conversation, and extract the current question content first, followed by the answer content, and label it. The question label can be "1" and the answer label can be "2". After matching the questions and answers, write them into CSV.
[0051] In some embodiments of the present application, in step S12, the application programming interface of the benchmark large model is called to obtain the answer content corresponding to the question content column to obtain a new answer content column. Here, the API of the benchmark large model is called to obtain the corresponding answer content of each question in the question content column, thereby obtaining the answer content column of the benchmark large model; specifically, the benchmark large model API is called, the API key and Secret key are used to generate an authentication signature, the question list is loaded from the JSON file, and the questions and their corresponding API answers are written into the JSON file; wherein, the benchmark large model can select general large language models such as GPT4, Ali Tongyi, Baidu Wenxin Yiyan, etc. This type of benchmark large language model is based on the Transformer architecture, and the core is to process sequence data through a self-attention mechanism. The structure of GPT is mainly based on the decoder part in the Transformer. The benchmark large model in the embodiment of the present application has the following main components:
[0052] Embedding Layer: Converts the input vocabulary into a vector representation;
[0053] Positional Encoding: Since the Transformer model does not have built-in sequence information, positional encoding needs to be added to provide the position information of the vocabulary;
[0054] Multi-Head Self-Attention Mechanism: allows the model to focus on the input sequence in different subspaces, improving the model's ability to capture different information;
[0055] Feed-Forward Neural Networks: used to further process the output of the self-attention mechanism, usually including two linear transformations and an activation function;
[0056] Residual Connections and Layer Normalization: Helps train deep networks, stabilizes gradients and accelerates convergence.
[0057] Continuing with the above embodiment, in step S13, the question content column and all answer content columns in the second document are integrated into a question template format and written into a JSONL document; the JSONL document is input into the referee model to obtain the evaluation result. Here, the question column and two columns of answer content (one column is the answer of the vehicle-mounted large model of the tested vehicle, and the other column is the answer of the benchmark large model) in the second document are integrated into a question template through a program and written into a JSONL document. Specifically, the questions and answers in the CSV file are converted into JSON format, and the file format is converted into a JSONL file in a specific format. The questions and answers are formatted according to the given template, and the answers of the vehicle-mounted large model of the tested vehicle and the benchmark large model are compared and judged by the imported referee large model based on database pre-training to obtain the evaluation results; for example, for the following questions and two answers, please judge and point out which answer is better: "[Question]: {row[0]}\n[Answer 1]: {row[1]}[End]\n[Answer 2]: {row[2]}[End]\nWhich answer is better, [Answer 1] or [Answer 2], no explanation is needed"; the evaluation results are written into the JSONL document.
[0058] Specifically, the JSONL document is input into the referee model, the document information is read, and the list is written line by line; the list contents are evaluated one by one by the referee model in combination with the question template to obtain the evaluation result. Here, the document information is read through the json.loads() method in the JSON library, and the list is written line by line, and then the list contents are given to the referee model one by one. The referee model evaluates the list contents one by one in combination with the question template to obtain the evaluation result.
[0059] For example, the vehicle model's answer (represented by answer 1) and the benchmark model's answer (represented by answer 2) are integrated into a unified JSONL document through code according to a given question template; the template format input to the referee model is: "For the two answers to the following question, please make a comprehensive judgment and indicate which answer is better, [question]: {} / n[answer 1]: {}[end] / n[answer 2]: {}[end] / nPlease directly answer which answer is better between [answer 1] and [answer 2], no explanation is required". Subsequently, the JSONL document is input into the referee model to obtain the referee model's judgment result for each answer. The referee model gives a response to which answer 1 or 2 is better based on the input templated question. For example, if the referee model thinks that answer 1 is better, it outputs the evaluation result: "Answer 1". It should be noted that the referee model is also a large language model based on the Transformer infrastructure, which is a deep neural network structure composed of multiple self-attention mechanisms and feedforward neural networks.
[0060] In some embodiments of the present application, the evaluation results and the corresponding input content are collected in sequence and written into the JSONL file again; the keywords in the collected evaluation results are read and the corresponding answer type tags are marked; the score estimation of the indicator items is performed according to the answer type tags and the comprehensive score is calculated to obtain the final scoring data, and the final scoring data is displayed on the vehicle computer, wherein the indicator items include precision, recall rate and F1 score. Here, the input content of the evaluation results and the corresponding answer content of the referee large model are collected in sequence, written into the JSONL file, the keywords in the collected evaluation results are read, and the corresponding tags are marked according to the evaluation results, the score estimation is performed according to the tags, and the final scoring data is displayed, which includes various indicator items, such as precision, recall rate and F1 score, and also includes the final comprehensive score. Differentiation is achieved by marking different answer contents. Among them, the types of labels can be summarized as: Label 1 "The large model of the tested vehicle is better"; Label 2 "The benchmark large model is better"; Label 3 "The two have the same evaluation"; Label 4 "No result can be given"; and then the various indicators are evaluated based on these labels, among which the precision is the ratio of the number of correct answers of the vehicle computer large model to the number of answers predicted by the large model, and the recall rate is the ratio of the number of correct answers to the total number of answers.
[0061] It should be noted that in order to measure the effectiveness of the referee model, the method in step S14 can also be used, that is, the evaluation results are used to score the referee model. Some of the questions input to the referee model will be manually judged. For example, for answer 1 and answer 2 of a certain question, the manual judgment is that answer 1 is better. If the referee model also answers 1 better, then the judgment of the referee model is reasonable, and the results of these manual judgments are also collected. The precision, recall rate and F1 score of the referee model are calculated based on the collected evaluation results. The precision here refers to the proportion of all instances predicted by the referee model to be positive (such as the vehicle model answer content (answer 1) is better) that are actually judged to be positive by manual judgment; it is used to measure the accuracy of the output of the referee model. Recall rate refers to the proportion of all instances that are manually judged to be positive that are correctly predicted to be positive by the model; recall rate measures the model's ability to identify positive instances. A high recall rate means that the model can recognize most of the positive instances. The F1 score is the harmonic mean of precision and recall rate. It is a comprehensive evaluation indicator. The formula satisfies: Among them, P is precision and R is recall. Using the F1 score balances precision and recall. Especially in instances where the evaluation results are one-sided, the F1 score can better reflect the overall performance of the model. A high F1 score means that the model performs well in both precision and recall. The comprehensive score is the proportion of positive results (such as "Answer 1") in the output results of the referee model, which satisfies the following formula: Among them, TR=TE=GW+CE+EQ, T represents the total number of questions, E represents the number of answers that the referee model cannot judge, TR represents the number of valid answers, GW represents the number of answers that the benchmark large model has better performance, CW represents the number of answers that the vehicle-mounted large model has better performance, and EQ represents the number of ties.
[0062] In some embodiments of the present application, collecting the answer questionnaire of the current large model of the vehicle computer includes any of the following methods: collecting the answer questionnaire of the conversation between the user and the current large model of the vehicle computer; collecting the answer questionnaire of the conversation between the bionic mouth robot and the current large model of the vehicle computer. Here, when collecting the answer questionnaire, the user can have a conversation with the large model of the current vehicle computer to obtain the answer questionnaire, or a bionic mouth robot can be used. The bionic mouth robot is a robot used to imitate a human to have a conversation. The bionic mouth robot imitates a human to have a conversation with the current vehicle computer, and the large model of the current vehicle computer recognizes the voice to answer the question, and obtains the answer questionnaire.
[0063] In addition, an embodiment of the present application further provides a computer-readable medium on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement the aforementioned method for automated vehicle testing.
[0064] In one embodiment of the present application, a vehicle computer automated testing device is also provided, the device comprising:
[0065] one or more processors; and
[0066] A memory storing computer readable instructions, which, when executed, cause the processor to perform the operations of the method as described above.
[0067] For example, the computer readable instructions, when executed, cause the one or more processors to:
[0068] Collecting the answered questionnaires of the current vehicle computer large model, performing data processing on the answered questionnaires, and storing the processed question contents and answer contents in the first document;
[0069] Performing distinguishing marks on the data in the first document, and obtaining new answer content about the question content according to the distinguishing marks to determine the second document;
[0070] Comparing and evaluating the answer content in the first document and the answer content in the second document to obtain an evaluation result;
[0071] The evaluation results are collected and scored to obtain the final score data of the current vehicle model.
[0072] Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this specification. Figure 2To describe the electronic device 300 according to this embodiment of the present application. Figure 2 The electronic device 300 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0073] like Figure 2 As shown, the electronic device 300 is in the form of a general computing device. The components of the electronic device 300 may include, but are not limited to: at least one processing unit 310, at least one storage unit 320, a bus 330 connecting different system components (including the storage unit 320 and the processing unit 310), a display unit 340, etc.
[0074] The storage unit stores a program code, which can be executed by the processing unit 310, so that the processing unit 310 performs the steps of various exemplary embodiments of the present application described in the above processing method section of this specification. For example, the processing unit 310 can perform the following steps: Figure 1 Steps shown.
[0075] The storage unit 320 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 3201 and / or a cache memory unit 3202 , and may further include a read-only memory unit (ROM) 3203 .
[0076] The storage unit 320 may also include a program / utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.
[0077] Bus 330 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0078] The electronic device 300 may also communicate with one or more external devices 400 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 300, and / or any device that enables the electronic device 300 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 350. Furthermore, the electronic device 300 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 360. The network adapter 360 may communicate with other modules of the electronic device 300 through the bus 330. It should be understood that although Figure 2 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0079] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
[0080] It should be noted that the present application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present application can be executed by a processor to implement the steps or functions described above. Similarly, the software program of the present application (including relevant data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.
[0081] In addition, a part of the present application may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present application through the operation of the computer. The program instruction for calling the method of the present application may be stored in a fixed or removable recording medium, and / or transmitted through a data stream in a broadcast or other signal-bearing medium, and / or stored in a working memory of a computer device that runs according to the program instruction. Here, according to an embodiment of the present application, a device is included, the device including a memory for storing computer program instructions and a processor for executing program instructions, wherein, when the computer program instruction is executed by the processor, the device is triggered to run the method and / or technical solution based on the aforementioned multiple embodiments according to the present application.
[0082] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is limited by the attached claims rather than the above description, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
Claims
1. A method for automated testing of a vehicle computer, characterized in that: The method comprises: Collecting the answered questionnaires of the current vehicle computer large model, performing data processing on the answered questionnaires, and storing the processed question contents and answer contents in the first document; Performing distinguishing marks on the data in the first document, and obtaining new answer content about the question content according to the distinguishing marks to determine the second document; Comparing and evaluating the answer content in the first document and the answer content in the second document to obtain an evaluation result; The evaluation results are collected and scored to obtain the final score data of the current vehicle model.
2. The method according to claim 1, characterized in that The data in the first document is distinguished by marking, and new answer content about the question content is obtained according to the distinguished mark to determine the second document, including: Distinguish the question content and answer content, label them, and store the labeled data in a CSV document; The question content column in the CSV document is extracted, and the corresponding new answer content column is obtained, and the answer content column is written into the CSV document to obtain a second document.
3. The method according to claim 2, characterized in that Distinguish the questions and answers and label them, including: Use regular expressions to match speakers and timestamps, and enable matching across multiple lines; Find all speakers and the locations where their conversations begin, traverse the conversations, and extract each speaker's conversation; The question content and answer content are obtained based on the conversation of each speaker, and are labeled separately.
4. The method according to claim 2, characterized in that: Get the corresponding new answer content column, including: The application program interface of the benchmark large model is called to obtain the answer content corresponding to the question content column, and obtain a new answer content column.
5. The method according to claim 1, characterized in that Comparing and evaluating the answer content in the first document and the answer content in the second document, including: Integrate the question content column and all answer content columns in the second document into a question template and write it into a JSONL document; Input the JSONL document into the referee model to obtain the evaluation results.
6. The method according to claim 5, characterized in that Input the JSONL document into the referee model to obtain the evaluation results, including: Input the JSONL document into the referee model, read the document information, and write it into the list line by line; The list contents are evaluated one by one through the judging model combined with the question template to obtain the evaluation results.
7. The method according to claim 1 or 6, characterized in that: After the evaluation results are collected and scored, the final score data of the current vehicle model is obtained, including: Collect the evaluation results and the corresponding input content in turn and write them into the JSON file again; Read the keywords in the collected evaluation results and mark the corresponding answer type tags; The score of the indicator items is estimated according to the answer type label and the comprehensive score is calculated to obtain the final score data, which is then displayed on the vehicle computer. The indicator items include precision, recall rate and F1 score.
8. The method according to claim 1, characterized in that Collect the answers to the current large-scale model questionnaire, including any of the following methods: Collect the user's answers to the questionnaire about the dialogue between the user and the current car machine using the big model; Collect answers to the questionnaire from the bionic mouth robot simulating the user's conversation with the current car computer using a large model.
9. A vehicle computer automated testing device, characterized in that: The device comprises: one or more processors; and A memory storing computer readable instructions which, when executed, cause the processor to perform the operations of the method as claimed in any one of claims 1 to 8.
10. A computer-readable medium having computer-readable instructions stored thereon, wherein the computer-readable instructions can be executed by a processor to implement the method according to any one of claims 1 to 8.
