feedback
Create Feedback Template V2
API Reference
- Api reference
- Getting Started
- Schemas
protect
trace
log_stream
experiment
feedback
API Reference
feedback
Create Feedback Template V2
POST
/
v2
/
projects
/
{project_id}
/
feedback
/
templates
curl --request POST \
--url https://api.acme.rungalileo.io/v2/projects/{project_id}/feedback/templates \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"name": "creativity",
"criteria": "How creative was the response?",
"constraints": {
"feedback_type": "score",
"min": 1,
"max": 10
}
}'
{
"name": "<string>",
"include_explanation": true,
"criteria": "<string>",
"constraints": {
"feedback_type": "<string>"
},
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"position": 123
}
Authorizations
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.acme.rungalileo.io/v2/projects/{project_id}/feedback/templates \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"name": "creativity",
"criteria": "How creative was the response?",
"constraints": {
"feedback_type": "score",
"min": 1,
"max": 10
}
}'
{
"name": "<string>",
"include_explanation": true,
"criteria": "<string>",
"constraints": {
"feedback_type": "<string>"
},
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"position": 123
}