Create feedback from a presigned token or URL.
create_feedback_from_token(
self,
token_or_url: Union[str, uuid.UUID],
score: Union[float, int, bool, None] = None,
*,
value: Union[float, int, bool, str, dict, None] = None,
correction: Union[dict, None] = None,
comment: Union[str, None] = None,
metadata: Optional[dict] = None
) -> None| Name | Type | Description |
|---|---|---|
token_or_url* | Union[str, uuid.UUID] | The token or URL from which to create feedback. |
score | Union[float, int, bool, None] | Default: NoneThe score of the feedback. |
value | Union[float, int, bool, str, dict, None] | Default: NoneThe value of the feedback. |
correction | Union[dict, None] | Default: NoneThe correction of the feedback. |
comment | Union[str, None] | Default: NoneThe comment of the feedback. |
metadata | Optional[dict] | Default: NoneAdditional metadata for the feedback. |