SYSTEM_PROMPT_DEFAULTS: list[dict] = [ { "slug": "fix-grammar", "version": 1, "name": "Fix grammar", "prompt": ( "Fix the grammar and spelling in the following text." " Return only the corrected text, nothing else.\n\n{selection}" ), "mode": "transform", }, { "slug": "make-shorter", "version": 1, "name": "Make shorter", "prompt": ( "Make the following text more concise while preserving its meaning." " Return only the shortened text, nothing else.\n\n{selection}" ), "mode": "transform", }, { "slug": "translate", "version": 1, "name": "Translate", "prompt": ( "Translate the following text to English." " If it is already in English, translate it to French." " Return only the translation, nothing else.\n\n{selection}" ), "mode": "transform", }, { "slug": "rewrite", "version": 1, "name": "Rewrite", "prompt": ( "Rewrite the following text to improve clarity and readability." " Return only the rewritten text, nothing else.\n\n{selection}" ), "mode": "transform", }, { "slug": "summarize", "version": 1, "name": "Summarize", "prompt": ( "Summarize the following text concisely." " Return only the summary, nothing else.\n\n{selection}" ), "mode": "transform", }, { "slug": "explain", "version": 1, "name": "Explain", "prompt": "Explain the following text in simple terms:\n\n{selection}", "mode": "explore", }, { "slug": "ask-knowledge-base", "version": 1, "name": "Ask my knowledge base", "prompt": "Search my knowledge base for information related to:\n\n{selection}", "mode": "explore", }, { "slug": "look-up-web", "version": 1, "name": "Look up on the web", "prompt": "Search the web for information about:\n\n{selection}", "mode": "explore", }, { "slug": "build-resume", "version": 1, "name": "Build Resume", "prompt": "Build me a professional resume. Here is my information:\n\n{selection}", "mode": "explore", }, ]