Project

General

Profile

Task #3258

Feature #3246: Support for Search Stats page

Add a controller mapping for 'Search Stats' form action which generates & uploads the excel and returns the link

Added by Venmuhilan B about 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
10/06/2023
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:

Description

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]

Also available in: Atom PDF