implemented offline cache

This commit is contained in:
2026-01-02 17:36:24 -07:00
parent 6dc8672dd8
commit d29ba781ba
9 changed files with 407 additions and 148 deletions

View File

@@ -1,9 +1,20 @@
Request for generation of writing prompts for journaling
Payload:
The previous 60 prompts have been provided as a JSON array for reference.
Guidelines:
Topics can be diverse.
Please generate 6 writing prompts in English with a few guidelines.
These are meant to inspire one to two pages of writing in a journal as exercise.
Topics can be diverse.
The prompts should be between 500 and 1000 characters.
The previous 60 prompts have been provided as a JSON array for reference. Attempt minimal repetition, but some thematic overlap is acceptable. Newly generated prompts should try extra hard to avoid repetition in previous prompts with the lowest indices.
The prompts should be between 500 and 1000 characters in length.
Prompt History:
The provided history brackets two mechanisms.
The history will allow for reducing repetition, however some thematic overlap is acceptable. Try harder to avoid overlap with lower indices in the array.
As the user discards prompts, the themes will be very slowly steered, so it's okay to take some inspiration from it.
Expected Output:
Output as a JSON array with key names from "newprompt0" to "newpromptN" where N is the number of prompts minus one.
Respond ONLY with valid JSON. No explanations, no markdown, no backticks.