6ede33ccdb
Build and Push Docker Images / create_manifest (web, surfsense-web, , cpu) (push) Has been cancelled
Build and Push Docker Images / finalize_release (push) Has been cancelled
Obsidian Plugin Lint / lint (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, cpu, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64, , runner, false, cpu) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, cpu, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64, , runner, false, cpu) (push) Has been cancelled
Build and Push Docker Images / compute_version (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cpu, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64, , production, false, cpu) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cpu, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64, , production, false, cpu) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu126, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64, -cuda126, production, true, cuda126) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu126, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64, -cuda126, production, true, cuda126) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu128, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64, -cuda, production, true, cuda) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu128, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64, -cuda, production, true, cuda) (push) Has been cancelled
Build and Push Docker Images / verify_digests (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend, , cpu) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend, -cuda, cuda) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend, -cuda126, cuda126) (push) Has been cancelled
82 lines
2.4 KiB
Python
82 lines
2.4 KiB
Python
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",
|
|
},
|
|
]
|