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
name | type | description |
---|---|---|
workspace_id | str | workspace identifier |
interaction_id | str | feedback to provide ("POSITIVE", "NEGATIVE" or "NONE"). |
user_feedback | str | interaction id to provide feedback for. |
chat_history_interaction_id | str | suffix 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")