Actions37
- 对话 Actions
- 知识库 Actions
- 集合 Actions
- 数据 Actions
- 应用 Actions
对话 → 点赞/取消点赞
AI-generatedSummary
Sets or clears a "like" (thumbs-up) on a specific FastGPT chat record by POSTing to /core/chat/feedback/updateUserFeedback. Providing a value in the like field adds the like; leaving it empty removes it.
Inputs
- 应用ID (feedbackAppId) (required) — FastGPT App ID, sent as body field appId.
- 历史记录ID (feedbackChatId) (required) — The chatId of the conversation, sent as body field chatId.
- 记录ID (feedbackDataId) (required) — The dataId of the chat record to like or unlike, sent as body field dataId.
- 点赞信息 (feedbackUserGoodFeedback) — Sent as userGoodFeedback. Fill with a value such as "yes" to like; leave empty to cancel the like.
- Request Options — Optional node settings: batching (items per batch, interval), ignore SSL issues, proxy, and timeout (default 10000 ms).
Output shape
The JSON body returned by the FastGPT API for the feedback update, one result per input item.
HTTP errors are not ignored at the transport level. A post-receive check throws a node API error if the status is 4xx/5xx or the response body's code is not 200, using the response message. The exact success payload shape is not defined in the node.
Examples
Example 1: Mark a bot reply as helpful after a user clicks a like button in an external UI.
Set 应用ID, 历史记录ID and 记录ID from the incoming webhook data, and set 点赞信息 to "yes".
Example 2: Remove a previously recorded like.
Provide the same 应用ID, 历史记录ID and 记录ID, and leave 点赞信息 empty.