RFC-026: Human Feedback Signal — 5. Client SDK Addition
AIGP Specification › RFC-026: Human Feedback Signal › 5. Client SDK Addition
← 4. Governance Server Behavior · Section index · 6. Evidence-Analyzer Integration →
5. Client SDK Addition
5.1 Python
class AigpClient: async def feedback(self, request_id: str, session_id: str, rating: str, pseudonym_id: str, s3_ref: str = "", comment: str = "", nlp: dict | None = None) -> None: """FEEDBACK — post-invocation user signal. Fire-and-forget."""5.2 Integration with AiTaskProvider
class AiTaskProvider: async def record_feedback(self, rating: str, comment: str = "", context_snippet: str = "", user_query: str = "", nlp: dict | None = None) -> str | None: """Record user feedback as child evidence + AIGP FEEDBACK message."""← 4. Governance Server Behavior · Section index · 6. Evidence-Analyzer Integration →