From 5433a9a91d5471c47a73d38e87384fb6e3243b6b Mon Sep 17 00:00:00 2001 From: Bram Schoenmakers Date: Wed, 24 Apr 2024 10:38:26 +0200 Subject: [PATCH] Change the prompt for more useful output --- README.org | 1 + kagi.el | 2 +- kagi.info | Bin 17588 -> 17652 bytes kagi.texi | 2 ++ 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index f61535a..f0728a9 100644 --- a/README.org +++ b/README.org @@ -281,6 +281,7 @@ Needless to say, the tests won't make actual API calls. Otherwise it wouldn't be *** Fixes +- Changed =kagi-proofread= to get more useful results. - Fixed language code for Czech summaries. - Handle error responses when calling the FastGPT API. diff --git a/kagi.el b/kagi.el index 4f9d4ad..be8534d 100644 --- a/kagi.el +++ b/kagi.el @@ -555,7 +555,7 @@ result is short, otherwise it is displayed in a new buffer." (define-kagi-fastgpt-prompt kagi-proofread (lambda (interactive-p) - (format "Proofread the following text. %s + (format "Proofread the following text for spelling, grammar and stylistic errors. %s %%s" (if interactive-p "" "Say OK if there are no issues."))) diff --git a/kagi.info b/kagi.info index 88d8496afe6b9d3ade885adc11b0e3f412af4519..f53b50f73b1203db6b8ac1ac36271108a06b9ddb 100644 GIT binary patch delta 143 zcmdne$@ry{af6CAyK_cjUV3WE8T|Ox%ow@3Z=!VX{9*|MXAN5IVHt< zn`Nwjb8r|Nm~r{#r=(8a$Ry@oZ)j>_ZV2XEDfp$9D`*&M0>#V?O`&3LnH8zU5K%KD cQ%k65P-xP5=M^ delta 103 zcmey;$+)GHaf6EW<`nDC92`a_MqGaRDXEh;GKsm@8=9IJn1lIN3Vx~O3L1u*Kru5@ nL#UWrW<_c-MAXdC(iAEhl$w@Wl$w{ET3l}kRBJkUkBbEWn0g=U diff --git a/kagi.texi b/kagi.texi index 83d7177..ed39ae6 100644 --- a/kagi.texi +++ b/kagi.texi @@ -415,6 +415,8 @@ Add support for traditional Chinese as a possible summary language. @itemize @item +Changed @samp{kagi-proofread} to get more useful results. +@item Fixed language code for Czech summaries. @item Handle error responses when calling the FastGPT API@.