Submit recent chat history ('context') and a search term to retrieve a list of candidate results from GIPHY and load their image data.