Skip to content

Commit

Permalink
fix(specs): personalization uses plural names [skip-bc] (#4298)
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp authored Jan 6, 2025
1 parent 02619a3 commit 47f83e6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
eventScoring:
eventsScoring:
type: object
additionalProperties: false
required:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
facetScoring:
facetsScoring:
type: object
additionalProperties: false
required:
Expand Down
12 changes: 6 additions & 6 deletions specs/personalization/common/schemas/personalizationStrategy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@ personalizationStrategyParams:
type: object
additionalProperties: false
required:
- eventScoring
- facetScoring
- eventsScoring
- facetsScoring
- personalizationImpact
properties:
eventScoring:
eventsScoring:
type: array
description: |
Scores associated with each event.
The higher the scores, the higher the impact of those events on the personalization of search results.
items:
$ref: 'eventScoring.yml#/eventScoring'
facetScoring:
$ref: 'eventsScoring.yml#/eventsScoring'
facetsScoring:
type: array
description: |
Scores associated with each facet.
The higher the scores, the higher the impact of those events on the personalization of search results.
items:
$ref: 'facetScoring.yml#/facetScoring'
$ref: 'facetsScoring.yml#/facetsScoring'
personalizationImpact:
type: integer
minimum: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
{
"testName": "set setPersonalizationStrategy",
"parameters": {
"eventScoring": [
"eventsScoring": [
{
"score": 42,
"eventName": "Algolia",
"eventType": "click"
}
],
"facetScoring": [
"facetsScoring": [
{
"score": 42,
"facetName": "Event"
Expand All @@ -21,14 +21,14 @@
"path": "/1/strategies/personalization",
"method": "POST",
"body": {
"eventScoring": [
"eventsScoring": [
{
"score": 42,
"eventName": "Algolia",
"eventType": "click"
}
],
"facetScoring": [
"facetsScoring": [
{
"score": 42,
"facetName": "Event"
Expand Down

0 comments on commit 47f83e6

Please sign in to comment.