Task #3258
Updated by Venmuhilan B about 1 year ago
Create an API "reportGeneration/api/v1/searchStats" named getSearchStats() in ReportGenerationAPI.java .
Create a service method in ReportGenerationService.java and report generation implementation in ExcelGeneration.java
Input:- start date, end date, Access Token.
Output:-
Generate a sheet with the following fields :- URL, Phrase, RKen Served, Asked In CGpt, CGpt Served
where
RKen Served - Count value[when a user searches in copilot and gets the purple link results for the phrase. please add 1 to RKen Served.]
Asked In CGpt - Count value[When a user clicked the 'Yes' button to obtain the answer from ChatGPT plus for the phrase. please add 1 to Asked In CGpt.]
CGpt Served - Count value[ no of /answer API calls for the phrase]