Task #3075
Feature #3024: extension 0.92.20 & 0.93: Enable OpenAI answers
Feature #3062: Extension v0.93 requirements
EXT-0.93: Add a new UI for searching in the ChatGPT.
Description
After the implementation #3073, do the next step.
- If user clicks on 'yes' button, show the "Type phrase e.g. nested list & Press enter". Same like the one we have when video is processed. However, replace 'magnifying glass icon' with chatgpt icon. (Video Processed URL: https://www.youtube.com/watch?v=k9TUPpGqYTo&list=PL-osiE80TeTskrapNbzXhwoFUiLCjGgY7&index=2)
If user search for a term in the search and press the enter button, then make the getOpenAIanswer api call to our server with the search term and show the response.
Under the answer response, show the above "Type phrase ... Press enter".
getOpenAIanswer API Endpoints:
URL: http://edutestqa.appspot.com/admin/content/api/v1/answer Method: "POST" Request Body: (application/json) { "searchTerm": "Once upon a time" }