Create a feedback

feedback = await client.api.create_feedback(
    step_id="<STEP_UUID>",
    value=1,
    comment="Hello world",
)
thread_id
uuid
required

Thread id in string format

step_id
uuid

Step id in string format

value
int

Value in integer format, 1 for positive feedback and 0 for negative feedback

comment
str

Comment in string format

strategy
string

Return type

feedback
Feedback

Return a Feedback

Update a feedback


feedback = await client.api.update_feedback(
    id="<THREAD_UUID>",
    update_params={
        "comment": "Hello world",
    },
)
id
uuid
required

Id in string format

update_params
dict

Dict containing same parameters as create_feedback

Return type

feedback
Feedback

Return a Feedback