ℹ️ These docs are for the v2.0 version of Galileo. Documentation for v1.0 version can be found here.
curl --request POST \
--url https://api.galileo.ai/v2/projects/{project_id}/feedback/ratings \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"operations": [
{
"explanation": "<string>",
"rating": {
"feedback_type": "like_dislike",
"value": true
},
"feedback_template_id": "<string>",
"operation_type": "create"
}
],
"selector": {
"selector_type": "indexes",
"indexes": [
123
]
}
}'
[
{
"selector": "indexes",
"index": 123,
"trace": "<string>",
"operation": "create",
"success": true,
"message": "<string>"
}
]
curl --request POST \
--url https://api.galileo.ai/v2/projects/{project_id}/feedback/ratings \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"operations": [
{
"explanation": "<string>",
"rating": {
"feedback_type": "like_dislike",
"value": true
},
"feedback_template_id": "<string>",
"operation_type": "create"
}
],
"selector": {
"selector_type": "indexes",
"indexes": [
123
]
}
}'
[
{
"selector": "indexes",
"index": 123,
"trace": "<string>",
"operation": "create",
"success": true,
"message": "<string>"
}
]
Successful Response
The response is of type BulkFeedbackRatingStatus · object[]
.
Was this page helpful?