Skip to content
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

Dev UI: provide some kind of library of prepared system messages #656

Open
jmartisk opened this issue Jun 5, 2024 · 4 comments · May be fixed by #658
Open

Dev UI: provide some kind of library of prepared system messages #656

jmartisk opened this issue Jun 5, 2024 · 4 comments · May be fixed by #658
Assignees
Labels
enhancement New feature or request

Comments

@jmartisk
Copy link
Collaborator

jmartisk commented Jun 5, 2024

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?

@geoand
Copy link
Collaborator

geoand commented Jun 5, 2024

@langchain4j also mentioned https://smith.langchain.com/hub. I wonder if we could add a search bar that would get results from it

@jmartisk
Copy link
Collaborator Author

jmartisk commented Jun 5, 2024

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

@jmartisk
Copy link
Collaborator Author

jmartisk commented Jun 5, 2024

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

@jmartisk jmartisk self-assigned this Jun 5, 2024
@jmartisk
Copy link
Collaborator Author

jmartisk commented Jun 5, 2024

I have a prototype implementation of the UI part and will send a PR soon. Then we can decide what it will actually show...

@geoand geoand added the enhancement New feature or request label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants