Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 30 additions & 13 deletions specs/composition-full/common/params/Composition.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
enableABTest:
type: boolean
description: |
Whether to enable index level A/B testing for this run request.
If the composition mixes multiple indices, the A/B test is ignored.
default: true
x-categories:
- Advanced
# ######################
# ### Category Rules ###
# ######################

enableRules:
type: boolean
description: Whether to enable composition rules.
default: true

getRankingInfo:
type: boolean
description: Whether the run response should include detailed ranking information.
x-categories:
- Rules

ruleContexts:
type: array
Expand All @@ -28,6 +21,10 @@ ruleContexts:
x-categories:
- Rules

# ####################
# ### Category RMN ###
# ####################

injectedItems:
type: object
additionalProperties:
Expand All @@ -36,7 +33,7 @@ injectedItems:
A list of extenrally injected objectID groups into from an external source.
default: {}
x-categories:
- Advanced
- Retail Media Network

externalInjectedItem:
type: object
Expand Down Expand Up @@ -65,3 +62,23 @@ externalInjectedItem:
{'objectID': 'my-object-1', 'metadata': {'my-field': 'my-value'}}
required:
- items

# #########################
# ### Category Advanced ###
# #########################

getRankingInfo:
type: boolean
description: Whether the run response should include detailed ranking information.
default: false
x-categories:
- Advanced

enableABTest:
type: boolean
description: |
Whether to enable index level A/B testing for this run request.
If the composition mixes multiple indices, the A/B test is ignored.
default: true
x-categories:
- Advanced
Loading