Skip to content

Commit

Permalink
Merge branch 'master' of github.com:umutphp/laravel-model-recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
umutphp committed Jun 17, 2021
2 parents 6c140c0 + 9acbb64 commit c443526
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ class Product extends Model implements InteractWithRecommendation
{
return [
'similar_products' => [
'recommendation_algorythm' => 'similarity',
'recommendation_algorithm' => 'similarity',
'similarity_feature_weight' => 1,
'similarity_numeric_value_weight' => 1,
'similarity_numeric_value_high_range' => 1,
Expand Down Expand Up @@ -371,7 +371,7 @@ class Product extends Model implements InteractWithRecommendation
{
return [
'sold_together' => [
'recommendation_algorythm' => 'db_relation',
'recommendation_algorithm' => 'db_relation',
'recommendation_data_table' => 'order_products',
'recommendation_data_table_filter' => [],
'recommendation_data_field' => 'product_id',
Expand All @@ -381,7 +381,7 @@ class Product extends Model implements InteractWithRecommendation
'recommendation_order' => 'random'
],
'similar_products' => [
'recommendation_algorythm' => 'similarity',
'recommendation_algorithm' => 'similarity',
'similarity_feature_weight' => 1,
'similarity_numeric_value_weight' => 1,
'similarity_numeric_value_high_range' => 1,
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "umutphp/laravel_model_recommendation",
"name": "umutphp/laravel-model-recommendation",
"description": "A generic package to create recommendation for eloquent models",
"keywords": [
"umutphp",
Expand Down

0 comments on commit c443526

Please sign in to comment.