-
Hi, I'm trying to test this package, but my issue is the generateRecommendations mehtod is not generating anything and it's not giving any errors too. Is there anyway to see the progress of the model generation. My table contains around 70,000 rows just for testing purposes. as I said I no errors no progress and nothing generated in the table too. I have tried with both "similiarity and db_relation" methods. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 8 replies
-
Hi @Xoshbin , I need more details to fix the issue. Is it possible to give me the Model definition and the migration for the table? |
Beta Was this translation helpful? Give feedback.
-
Hi @umutphp ,
And here's the migration:
I'm trying to depend mostly on the title field for now, I want to test if I can make the reommendations based on the title |
Beta Was this translation helpful? Give feedback.
-
@Xoshbin I have created the Post model on my local with your recommendation setups. I have created 100 posts with faker lib. I have executed |
Beta Was this translation helpful? Give feedback.
-
Hi @Xoshbin , Everything worked correctly at my local. So, I could not reproduce the case. I added some extra logs to the package and created a new version v0.2.5. You can upgrade the package on your project and set the log level as debug. I hope the logs helps us to find the root cause. |
Beta Was this translation helpful? Give feedback.
-
Hi @umutphp , |
Beta Was this translation helpful? Give feedback.
@Xoshbin I have created the Post model on my local with your recommendation setups. I have created 100 posts with faker lib. I have executed
Post::generateRecommendations('similar_products');
command to generate the recommendations. It did not verbose anything but generated the recommendation. Can you please check thelaravel_model_recommendation_table
table on your local.