MCPcopy Create free account
hub / github.com/ScrapeGraphAI/scrapecraft / submit_feedback

Function submit_feedback

backend/app/api/chat.py:66–74  ·  view source on GitHub ↗

Submit feedback for a specific message.

(
    pipeline_id: str,
    message_id: str,
    feedback: str,
    rating: Optional[int] = None
)

Source from the content-addressed store, hash-verified

64
65@router.post("/feedback")
66async def submit_feedback(
67 pipeline_id: str,
68 message_id: str,
69 feedback: str,
70 rating: Optional[int] = None
71):
72 """Submit feedback for a specific message."""
73 # TODO: Store feedback in database
74 return {"message": "Feedback submitted successfully"}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected