Support Questions

Find answers, ask questions, and share your expertise

Get known items of a user

avatar
Explorer

Hi,

Is there a way to get the known items of a user from the Oryx ML API (or Java function)?

 

Thanks.

 

Jason

2 ACCEPTED SOLUTIONS

avatar
Master Collaborator

I mean that it's internal to the service, not exposed as an endpoint. Although that wouldn't be hard. Let me put it on my radar as a feature request.

View solution in original post

avatar
Master Collaborator

Have a look at this change -- if you're in a position to build and try it be my guest!

 

https://github.com/cloudera/oryx/pull/89

View solution in original post

6 REPLIES 6

avatar
Master Collaborator

Hm, no, there isn't, but the data structure exists (unless disabled). If there's a reasonable use case for it this could be added as an endpoint.

avatar
Explorer

What's the name of the data structure?

 

The use case is that, in order to "visually verify" the recommended results, it's nice to get the list of items consumed by the user (i.e., the known items).

 

Thanks.

avatar
Master Collaborator

I mean that it's internal to the service, not exposed as an endpoint. Although that wouldn't be hard. Let me put it on my radar as a feature request.

avatar
Master Collaborator

Have a look at this change -- if you're in a position to build and try it be my guest!

 

https://github.com/cloudera/oryx/pull/89

avatar
Explorer

Great news. Thanks a lot for your swift response!

Yes, I would love to give a try and will let you know (it may take couple of days).

 

Thanks again!

 

avatar
Explorer

Yes, we tried it and it worked great. Thanks.