[PR #203] [MERGED] Add feedback buttons to stream_log runs #429

Closed
opened 2026-02-16 00:20:30 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langserve/pull/203
Author: @dqbd
Created: 11/9/2023
Status: Merged
Merged: 11/28/2023
Merged by: @dqbd

Base: mainHead: dqbd/feedback-playground


📝 Commits (10+)

  • 4e4dde4 Add feedback buttons to stream_log runs
  • 71c317f Fix pydantic
  • a2dafa1 Add feedback enabled flag served with HEAD method, cleanup
  • 73f579f Fix playground crash, provide output to autocomplete history (#202)
  • 7255adb Build playground (#204)
  • dd4db29 Vesion 0.0.25 release (#201)
  • 3be41c5 x
  • a4199f7 x
  • 8dc4d15 Update feedback when feedback is already present
  • ab00b6c Merge branch 'main' into dqbd/feedback-playground

📊 Changes

17 files changed (+251 additions, -78 deletions)

View changed files

📝 examples/conversational_retrieval_chain/server.py (+1 -1)
📝 langserve/playground.py (+4 -0)
📝 langserve/playground/dist/assets/index-1ccbfbf6.js (+58 -58)
langserve/playground/dist/assets/index-52e8ab2f.css (+1 -0)
langserve/playground/dist/assets/index-8968db79.css (+0 -1)
📝 langserve/playground/dist/index.html (+3 -2)
📝 langserve/playground/index.html (+1 -0)
📝 langserve/playground/src/App.tsx (+18 -3)
langserve/playground/src/assets/CircleSpinIcon.svg (+15 -0)
langserve/playground/src/assets/ThumbsDownIcon.svg (+6 -0)
langserve/playground/src/assets/ThumbsUpIcon.svg (+6 -0)
📝 langserve/playground/src/components/ChatMessagesControlRenderer.tsx (+0 -6)
📝 langserve/playground/src/components/IntermediateSteps.tsx (+15 -4)
langserve/playground/src/components/feedback/CorrectnessFeedback.tsx (+89 -0)
📝 langserve/playground/src/useSchemas.tsx (+15 -0)
📝 langserve/playground/vite.config.ts (+1 -1)
📝 langserve/server.py (+18 -2)

📄 Description

https://github.com/langchain-ai/langserve/assets/1443449/9e5f7dae-6759-4018-b0f6-1701912eb25e

TODO:

  • We need to expose the ability to get and remove a specific run based off an ID, otherwise multiple clicking will send multiple feedbacks
  • Hide buttons if LangSmith not configured or feedback endpoint not exposed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langserve/pull/203 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 11/9/2023 **Status:** ✅ Merged **Merged:** 11/28/2023 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/feedback-playground` --- ### 📝 Commits (10+) - [`4e4dde4`](https://github.com/langchain-ai/langserve/commit/4e4dde447cddded00935efac532d6c0a707d667c) Add feedback buttons to stream_log runs - [`71c317f`](https://github.com/langchain-ai/langserve/commit/71c317f765be18c3841798151239fbaaf1101017) Fix pydantic - [`a2dafa1`](https://github.com/langchain-ai/langserve/commit/a2dafa14ded82194acab661c9f8f02ab4cc170a6) Add feedback enabled flag served with HEAD method, cleanup - [`73f579f`](https://github.com/langchain-ai/langserve/commit/73f579f92894377529c1cad59250e970e1e05a96) Fix playground crash, provide output to autocomplete history (#202) - [`7255adb`](https://github.com/langchain-ai/langserve/commit/7255adb3304a8546e990dd9919ebd3b2946b1bbd) Build playground (#204) - [`dd4db29`](https://github.com/langchain-ai/langserve/commit/dd4db298b0383ccf396599b9e52bfd90a08423de) Vesion 0.0.25 release (#201) - [`3be41c5`](https://github.com/langchain-ai/langserve/commit/3be41c5c3f34396888479c1652c8d1ea2a0f0b97) x - [`a4199f7`](https://github.com/langchain-ai/langserve/commit/a4199f72abc8a6f578c54efa1fce4460b0b8aac3) x - [`8dc4d15`](https://github.com/langchain-ai/langserve/commit/8dc4d15fea33151dd9be922cfc027d93b563459c) Update feedback when feedback is already present - [`ab00b6c`](https://github.com/langchain-ai/langserve/commit/ab00b6c04213d19ee42cd0ce1954c51733ca0558) Merge branch 'main' into dqbd/feedback-playground ### 📊 Changes **17 files changed** (+251 additions, -78 deletions) <details> <summary>View changed files</summary> 📝 `examples/conversational_retrieval_chain/server.py` (+1 -1) 📝 `langserve/playground.py` (+4 -0) 📝 `langserve/playground/dist/assets/index-1ccbfbf6.js` (+58 -58) ➕ `langserve/playground/dist/assets/index-52e8ab2f.css` (+1 -0) ➖ `langserve/playground/dist/assets/index-8968db79.css` (+0 -1) 📝 `langserve/playground/dist/index.html` (+3 -2) 📝 `langserve/playground/index.html` (+1 -0) 📝 `langserve/playground/src/App.tsx` (+18 -3) ➕ `langserve/playground/src/assets/CircleSpinIcon.svg` (+15 -0) ➕ `langserve/playground/src/assets/ThumbsDownIcon.svg` (+6 -0) ➕ `langserve/playground/src/assets/ThumbsUpIcon.svg` (+6 -0) 📝 `langserve/playground/src/components/ChatMessagesControlRenderer.tsx` (+0 -6) 📝 `langserve/playground/src/components/IntermediateSteps.tsx` (+15 -4) ➕ `langserve/playground/src/components/feedback/CorrectnessFeedback.tsx` (+89 -0) 📝 `langserve/playground/src/useSchemas.tsx` (+15 -0) 📝 `langserve/playground/vite.config.ts` (+1 -1) 📝 `langserve/server.py` (+18 -2) </details> ### 📄 Description https://github.com/langchain-ai/langserve/assets/1443449/9e5f7dae-6759-4018-b0f6-1701912eb25e TODO: - [x] We need to expose the ability to get and remove a specific run based off an ID, otherwise multiple clicking will send multiple feedbacks - [x] Hide buttons if LangSmith not configured or feedback endpoint not exposed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 00:20:30 -05:00
yindo closed this issue 2026-02-16 00:20:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langserve#429