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

Add author to prompt #36

Open
StefMa opened this issue Jul 5, 2024 · 0 comments
Open

Add author to prompt #36

StefMa opened this issue Jul 5, 2024 · 0 comments

Comments

@StefMa
Copy link
Collaborator

StefMa commented Jul 5, 2024

The default prompt looks like that:

var defaultPromptTemplate = `
I give you a discussion and you give me a summary.
Each comment of the discussion is wrapped in a <comment> tag.
Your summary should not be longer than 1200 chars.
Here is the discussion:
{{ range $comment := . }}
<comment>{{ $comment.Body }}</comment>
{{end}}
`

Maybe we want to add the author to this somewhere as well?!
Maybe this gives the LLMs a bit more context about the discussion "who said what".

Maybe <comment author="AUTHOR">BODY</comment> 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant