Create Human Feedback
lyzr_create_feedbackSubmit human feedback on an agent's RAG output by providing the original user input, agent response, and a feedback config ID to improve future responses.
Instructions
Submit human feedback on an agent's output for a given RAG feedback config.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"feedback_rag_config_id": "<feedback_rag_config_id>",
"feedback": "<feedback>",
"user_input": "<user_input>",
"agent_output": "<agent_output>"
},
"name": "lyzr_create_feedback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedback | Yes | The feedback text | |
| user_input | Yes | The original user input | |
| agent_output | Yes | The agent's output being reviewed | |
| feedback_rag_config_id | Yes | The feedback RAG config id (query param) |