Dev UI: provide some kind of library of prepared system messages
Opened this issue · 4 comments
Perhaps this could be a dropdown menu that contains some useful system messages, and when you select one of them, it will get copied to the 'system message' field.
Some patterns are https://github.com/danielmiessler/fabric/tree/main/patterns but maybe these are too complex and we may need some simpler ones?
@langchain4j also mentioned https://smith.langchain.com/hub. I wonder if we could add a search bar that would get results from it
One problem with https://smith.langchain.com/hub is that the prompts contain placeholders (parameters) and the UI doesn't have any support for that, the user would have to manually replace the placeholders with something, which isn't exactly nice UX
https://github.com/danielmiessler/fabric/tree/main/patterns doesn't have this problem
I think we could pick a few from the fabric
repo, add some of our own, and add an example User message along with the System message too
I have a prototype implementation of the UI part and will send a PR soon. Then we can decide what it will actually show...