1
0
Fork 0
Commit graph

308 commits

Author SHA1 Message Date
ba26b5ec1e
Make the user-facing name an optional argument 2024-04-01 13:13:30 +02:00
3fe442758c
Improve readability 2024-03-31 19:49:45 +02:00
3f60094815
Add check that kagi-fastgpt-prompt is called non-interactively 2024-03-31 17:49:38 +02:00
b0e33aa8e6
Prompts may be functions returning text
This can be used to make an interactive variant of a prompt and a
non-interactive one.
2024-03-31 17:43:20 +02:00
af03f7d1f8
Remove TODO 2024-03-31 11:47:47 +02:00
48d90f7208
Adjust define-kagi-fastgpt-prompt to match kagi-proofread functionality 2024-03-31 10:51:32 +02:00
55487fab5b
Docstring and variable name changes 2024-03-28 22:33:11 +01:00
3a445b3c90
Fix tests for the changed variable name 2024-03-28 22:25:27 +01:00
3843afb785
Push the symbol name as a string in the car 2024-03-28 22:24:46 +01:00
26bcbcea77
Add macro to define your own prompts 2024-03-28 22:14:23 +01:00
ef799275ea
Remove details 2024-03-28 06:25:05 +01:00
5753556163
Fix language code for Czech 2024-03-27 22:28:21 +01:00
ccfc34b1c0
Remove the open source claim 2024-03-27 22:13:45 +01:00
407781fe4e
Adjust docstring 2024-03-23 10:05:57 +01:00
19e779ad37
Minor docstring adjustments 2024-03-23 09:45:31 +01:00
9b58724986
Call function when a predefined prompt has one
Also test if the variable with predefined prompts is used properly by kagi-fastgpt-prompt.
2024-03-23 09:37:39 +01:00
554a19285b
Isolate the prompt construction in a separate function 2024-03-22 23:45:09 +01:00
2b9ab2fa0a
Improve the placeholder handling in prompts 2024-03-22 23:07:11 +01:00
658662bfd4
Remove the obsoleted function kagi-fastgpt 2024-03-19 21:42:06 +01:00
47ef4d218f
Support traditional Chinese as possible summary language 2024-03-19 21:36:26 +01:00
086b6b30f6
Let kagi-fastgpt-prompt use predefined prompts and fill in placeholders 2024-03-19 21:30:38 +01:00
d473b1b6fa
Remove suggestion for defining your own functions 2024-03-07 19:46:24 +01:00
7e302e0357
Do not export old changelog entries 2024-03-06 23:06:41 +01:00
581b8b3bc5
Update README 2024-03-06 21:26:22 +01:00
3671f78c6a
Refactored the internal kagi--get-summarizer-parameters function
Take a list of promptable items, to be passed on from the caller.
2024-03-06 21:20:15 +01:00
72119bd9b7
Add no-cache parameter to kagi-summarize-{buffer,region} 2024-03-06 21:06:43 +01:00
9773229d6b
Normalize to t when kagi-summarizer-cache is non-nil 2024-03-06 20:35:59 +01:00
5732de8bcd
Add no-cache parameter to kagi-summarize 2024-03-06 20:28:23 +01:00
e1f2f6fcc8
Various fixes in the README 2024-03-05 22:23:30 +01:00
64e2779335
Extend list of options when the universal prefix is passed 2024-03-05 21:49:45 +01:00
7d061a8ef8
Add comments that appear with just --list 2024-03-02 21:58:07 +01:00
afac09ab32
Remove unused recipe 2024-03-02 21:57:47 +01:00
3080cea644
Make test the default recipe 2024-03-02 21:55:00 +01:00
6f9fd09471
Define a variable for storing default and user-defined FastGPT prompts 2024-03-01 22:46:14 +01:00
0570505cff
Bump to version 0.4 2024-02-29 20:53:09 +01:00
f5f751390f
Update package headings 2024-02-29 20:52:28 +01:00
d09152cabc
Update the Embark section in the README 2024-02-29 20:44:40 +01:00
aafd0bf27c
Merge branch 'test' 2024-02-25 14:55:02 +01:00
bad0c2a50e
Add docstring 2024-02-23 22:58:36 +01:00
eb846635a0
Avoid repetition of the choices of the summary choices 2024-02-23 22:23:11 +01:00
fa402763fa
Fix tests for inserting a summary 2024-02-22 23:29:46 +01:00
602b7dffb4
Add tests for kagi-summarize-url 2024-02-22 23:18:44 +01:00
02be283f3a
Add test for kagi-summarize-region 2024-02-22 22:30:57 +01:00
199cc478df
Adapt description 2024-02-22 22:18:48 +01:00
b3191b750d
Allow optional pattern for which tests to run 2024-02-22 22:15:46 +01:00
c8a7658bd3
Create macro to check values in a request object 2024-02-22 21:56:02 +01:00
fbb4ead05c
Create macro to check expectations on arguments of called functions 2024-02-22 21:41:50 +01:00
1702fadaeb
Adapt docstring 2024-02-22 07:05:01 +01:00
e2b81ef432
Add tests for kagi-summarize-buffer 2024-02-22 07:04:26 +01:00
28793401df
Allow kagi-summarize-buffer to be used non-interactively 2024-02-21 12:44:31 +01:00