aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/prompts.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix: minor changes to the tagging prompts (#1474)Olicorne2025-06-221-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: add optional `thinking` key to tagging response schema * prompt: fix indent * prompt: remove extra 'language' word * prompt: use xml as separator * revert: dont use a thinking tags Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com> * prompt: don't ask to include website tags * prompt: aim for 5 tags * prompt: dont tell bot its a bot * prompt: propose a tag_error * Revert "prompt: propose a tag_error" This reverts commit 78c5099a187960cc3697b77f2b2bd687edb015f3. * minor prompt tweaks * minor prompt tweaks take 2 --------- Signed-off-by: thiswillbeyourgithub Co-authored-by: Mohamed Bassem <me@mbassem.com>
* fix: Collapse long runs of repeated whitespaces before tokenization to avoid ↵Mohamed Bassem2025-06-211-0/+9
| | | | choking the tokenizer. Fixes #1622
* fix: Use proper tokenizer when truncating for inference. Fixes #1405Mohamed Bassem2025-05-181-8/+8
|
* feat: Support customizing the summarization prompt. Fixes #731Mohamed Bassem2025-01-121-1/+5
|
* fix: Instruct the model to only respond with the summary when summarizing ↵Mohamed Bassem2024-11-241-1/+1
| | | | content
* feature: Add a summarize with AI button for linksMohamed Bassem2024-10-271-0/+14
|
* feature: Allow customizing the inference's context lengthMohamedBassem2024-10-121-2/+21
|
* feature(web): Add the ability to customize the inference prompts. Fixes #170MohamedBassem2024-09-291-0/+33