| Name | Type | Description |
|---|---|---|
run_id* | Union[UUID, str] | The ID of the run to provide feedback for. |
feedback_key* | str | The name of the metric or aspect this feedback is about. |
expiration | Optional[datetime.datetime | datetime.timedelta] | Default: None |
feedback_config | Optional[ls_schemas.FeedbackConfig] | Default: None |
feedback_id | Optional[ls_client.ID_TYPE] | Default: None |
Create a pre-signed URL to send feedback data to.
This is useful for giving browser-based clients a way to upload feedback data directly to LangSmith without accessing the API key.
The expiration time of the pre-signed URL.
Either a datetime or a timedelta offset from now.
Default to 3 hours.
FeedbackConfig or None.
If creating a feedback_key for the first time, this defines how the metric should be interpreted, such as a continuous score (w/ optional bounds), or distribution over categorical values.
The ID of the feedback to create.
If not provided, a new feedback will be created.