quarkiverse / quarkus-langchain4j

Quarkus Langchain4j extension
https://docs.quarkiverse.io/quarkus-langchain4j/dev/index.html
Apache License 2.0
116 stars 65 forks source link

Offer sample system messages and user prompts in the Dev UI #658

Open jmartisk opened 3 weeks ago

jmartisk commented 3 weeks ago

Just a very rough draft for now, to continue the discussion. Added one sample where the LLM summarizes a git diff that I took from this repository. Maybe the samples should be moved to separate file(s) but I'd have to figure out how. Also, I'm not sure if we can limit the size of the text areas, they grow very big after selecting a long system+user message.

iocanel commented 3 weeks ago

Why provide a hard coded list of message and not collect the system messages defined by the application ?

geoand commented 3 weeks ago

What I had in mind when opening the issue was for us to leverage the awesome prompt library available in https://github.com/danielmiessler/fabric/tree/main/patterns