-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Summarize and rate several responses in action bar #487
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Sorry for the delay reply. I'm on a business trip. What actions will be placed on the bar except summarizing? |
I planning to make the Summarize button the default, then the user can add, edit, delete in the Chats settings. |
How about implementing this through a "bulk actions" feature? Users can select multiple messages (even they are not belongs to the same prompt ) and do actions on them. |
811e141
to
2c17005
Compare
Yeah! This is great! Eager for it! |
2c17005
to
b4ffc68
Compare
b4ffc68
to
548f4cc
Compare
f7b311e
to
65d2cbf
Compare
70d78df
to
cb1bb4a
Compare
done, let me know if anything need to change 2023-08-13.17-34-19.mp4 |
src/store/index.js
Outdated
actions: [ | ||
{ | ||
name: "Summarize 1", | ||
template: | ||
"Summarize the data below in a markdown table with the bot name, difference and response rating (1-5) columns.\nDo not include response column in your table.\nSimplify the data and identify the differences.\nResponse is delimited by `details` tag and bot name is delimited by `summary` tag.\n\n{loopStart}\n<details>\n <summary>{botName}</summary>\n{botResponse}\n</details>\n{loopEnd}\n\nGive me the best response.", | ||
index: 0, | ||
}, | ||
{ | ||
name: "Summarize 2", | ||
template: | ||
"Summarize the data below in a markdown table with the bot name, difference and response rating (1-5) columns.\nDo not include response column in your table.\nSimplify the data and identify the differences.\n\n|Bot|Response|\n|-----|-------------|{loopStart}\n|{botName}|{botResponse}|{loopEnd}\n\nGive me the best response.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feel free to suggest better prompt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed markdown view for prompt. |
This reverts commit 9073c33.
1c7db9c
to
2db206f
Compare
This is so great! Thank you! |
Close: #476
Close: #478
TODO:
@sunner
2023-08-03.07-09-50.mp4