Arguments
string
An optional name that will show up in the Trace/Completion detail view > Feedback section.
float
required
A score between 0 and 1
object
Extra information about the feedback. For example, a user comment.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
client.feedback(name: str, score: float, metadata: Optional[Dict] = None) -> Tag:
client.feedback (0.9, metadata={"comment": "Great response!"})