compute.

set_ai_chat_history_feedback

set_ai_chat_history_feedback(workspace_id: str, interaction_id: str, user_feedback: str, chat_history_interaction_id: str, thread_id_suffix: str = "") -> None

Set feedback for an AI chat history interaction.

Parameters

nametypedescription
workspace_idstrworkspace identifier
interaction_idstrfeedback to provide ("POSITIVE", "NEGATIVE" or "NONE").
user_feedbackstrinteraction id to provide feedback for.
chat_history_interaction_idstrsuffix to identify a specific chat thread. Defaults to "".

Returns

None

Example


host = "https://www.example.com"
token = "<your_personal_access_token>"
sdk = GoodDataSdk.create(host, token)

sdk.compute.set_ai_chat_history_feedback(workspace_id, "POSITIVE", "123", "456")