This documentation is for the unstable version of GoodData, currrently in development.
For stable version, go to the latest stable version of this article.
For stable version, go to the latest stable version of this article.
compute.
set_ai_chat_history_feedback
set_ai_chat_history_feedback(workspace_id: str, user_feedback: str, chat_history_interaction_id: str, thread_id_suffix: str)
Provide feedback for a specific chat history interaction.
Parameters
| name | type | description |
|---|---|---|
| workspace_id | str | workspace identifier |
| user_feedback | str | feedback to provide ("POSITIVE", "NEGATIVE" or "NONE"). |
| chat_history_interaction_id | str | interaction id to provide feedback for. |
| thread_id_suffix | str | suffix to identify a specific chat thread. Defaults to "". |
Returns
NoneExample
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")