Refine KernelFunctionDescription for clarity

This commit is contained in:
Shawn Yuan
2025-12-15 11:29:57 +08:00
committed by GitHub
parent f57e7cb9cd
commit e423c64b68

View File

@@ -46,7 +46,7 @@ public enum PasteFormats
CanPreview = true,
SupportedClipboardFormats = ClipboardFormat.Image,
IPCKey = AdvancedPasteAdditionalActions.PropertyNames.ImageToText,
KernelFunctionDescription = "Takes an image in the clipboard and extracts all text from it using OCR. Use this ONLY when the user explicitly asks to extract text or OCR.")]
KernelFunctionDescription = "Takes an image from the clipboard and extracts text using OCR. This function is intended only for explicit text extraction or OCR requests.")]
ImageToText,
[PasteFormatMetadata(
@@ -119,7 +119,7 @@ public enum PasteFormats
RequiresAIService = true,
CanPreview = true,
SupportedClipboardFormats = ClipboardFormat.Text | ClipboardFormat.Image,
KernelFunctionDescription = "Takes input instructions and transforms clipboard content (text or image) with these input instructions. Use this function for ANY image analysis, description, or transformation tasks that are not simple OCR.",
KernelFunctionDescription = "Takes user instructions and applies them to the current clipboard content (text or image). Use this function for image analysis, description, or transformation tasks beyond simple OCR.",
RequiresPrompt = true)]
CustomTextTransformation,
}