ai_workflows / workflows /utils /feedback.py
shravya
added helpful or not button in feedback
01c715d
raw
history blame
229 Bytes
from pydantic import BaseModel
from typing import List, Optional
class Feedback(BaseModel):
helpful_score: Optional[float]=None
metric_type: Optional[str]
metric_score: Optional[float]
feedback_on: Optional[str]