Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Display recommended articles in aem component via coveo

Avatar

Level 5

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

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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/

 

 

View solution in original post

10 Replies

Avatar

Community Advisor

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.



Arun Patidar

Avatar

Level 5

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.

Avatar

Level 5

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.

Avatar

Community Advisor

@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

 

Avatar

Correct answer by
Community Advisor

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/

 

 

Avatar

Community Advisor

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

 

Avatar

Community Advisor

@Rohan_Garg @arindam6600 

we.retail code sample/implementation that Rohan shared looks great from coveo for atomic interface.

Avatar

Administrator

@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!



Kautuk Sahni