Create a feedback formula.
create_feedback_formula(
self,
*,
feedback_key: str,
aggregation_type: Literal['sum', 'avg'],
formula_parts: Sequence[Union[ls_schemas.FeedbackFormulaWeightedVariable, dict]],
dataset_id: Optional[ID_TYPE] = None,
session_id: Optional[ID_TYPE] = None
) -> ls_schemas.FeedbackFormula| Name | Type | Description |
|---|---|---|
feedback_key* | str | The feedback key for the formula. |
aggregation_type* | Literal['sum', 'avg'] | The aggregation type to use when combining parts. |
formula_parts* | Sequence[FeedbackFormulaWeightedVariable | dict] | The weighted feedback keys included in the formula. |
dataset_id | Optional[Union[UUID, str]] | Default: NoneThe dataset to scope the formula to. |
session_id | Optional[Union[UUID, str]] | Default: NoneThe session to scope the formula to. |