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

Pass existing title to llm #137

Closed
IngmarStein opened this issue Jan 20, 2025 · 0 comments · Fixed by #158
Closed

Pass existing title to llm #137

IngmarStein opened this issue Jan 20, 2025 · 0 comments · Fixed by #158

Comments

@IngmarStein
Copy link
Contributor

The template for the title prompt currently only includes Language and Content. It might make sense to also make the existing title available. For example, to instruct the model to keep the original title if its own suggestion is not "better".

IngmarStein added a commit to IngmarStein/paperless-gpt that referenced this issue Jan 27, 2025
This allow a prompt to feed the LLM with the title as determined by
Paperless to improve its suggestion.

This also fixes the case when `getSuggestedTags` or
`getSuggestedCorrespondent` are called, but `GenerateTitles` is off (in
which case an empty title was used).

Fixes icereed#137
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

Successfully merging a pull request may close this issue.

1 participant