I'm trying to implement a component in AEM where it will show articles/products based on previous search. It's more of a functionality like recommended videos that come in YouTube.
As of now, the functionality is set to fetch the articles based on the inputs provided in the dialog so that it can query the pipeline accordingly and get the data. But going forward we would like to implement something like auto-generated articles that would come up in the component and the results should be based on what the user has previously searched across the site. If there's no match we want to display the closest results possible.
If someone could help with insights/ideas on how we can implement the same. Thanks!
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @arindam6600
Please check if this helps: https://medium.com/@mugwadiinnocent/recommendation-system-with-javascript-without-ml-00fcd849051e
I'm not sure if you're planning to store the search information for user recommendations or if it's just going to be stored in local storage, which would be browser-specific.
Hi @arunpatidar
I'm targeting to send the usage analytics to coveo and utilize the ML feature over there to create a model that would basically generate the recommended articles. I've come across the documentation on how to create the model in coveo.
What I need help with is : How do I query that data from coveo and display it in a custom component in AEM.
Hi @arindam6600
Please check if this helps, seems like clientside implementation
https://docs.coveo.com/en/1886/leverage-machine-learning/deploy-content-recommendations-cr
Hi @arindam6600,
Refer to the below link once -
https://docs.coveo.com/en/3387/leverage-machine-learning/about-content-recommendations-cr
For integrating AEM with Coveo Search refer to @MayurSatav's blog The Integration of Coveo Search In Adobe Experience Manager
Hope this helps!
Hi @Rohan_Garg,
The integration of coveo with AEM is already done.
As for recommended articles, I've gone through the coveo docs and I'm somewhat aligned on how to create the model and leverage ML in coveo. What I'm unsure of is how to fetch the data into AEM.
@arindam6600 If you are using Coveo Javascript search UI framework , please follow the below tutorials. Basically you need to set the JSUI in a component and create the token and set the coveo endpoint and query the coveo. Does your model give the recommended articles for every search keyword ?
https://levelup.coveo.com/learn/courses/jsui
If you are planning to start a new search UI for coveo, use Atomic UI instead of JS UI from Coveo.
https://docs.coveo.com/en/atomic/latest/
You can also take a look at the We-Retail example implementation at https://docs.coveo.com/en/m9jd0351/adobe/we-retail-example-implementation
As for fetching the data into AEM you can look at the ways Coveo provides to build the search interface at https://docs.coveo.com/en/3368/build-a-search-ui/choose-the-right-approach
we.retail code sample/implementation that Rohan shared looks great from coveo for atomic interface.
@arindam6600 Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies