Bram Schoenmakers
|
a0e06cb928
|
Version bump
|
2024-04-24 21:37:45 +02:00 |
|
Bram Schoenmakers
|
5433a9a91d
|
Change the prompt for more useful output
|
2024-04-24 10:39:58 +02:00 |
|
Bram Schoenmakers
|
d686d629b2
|
Adapt docstring
|
2024-04-20 12:17:54 +02:00 |
|
Bram Schoenmakers
|
38f74f1a24
|
Refactored gathering of summary parameters
There was a bug causing the kagi-summarize-url to break, due to an
incorrect parameter set.
|
2024-04-20 09:54:47 +02:00 |
|
Bram Schoenmakers
|
69ca50537c
|
Add history variable to kagi-fastgpt-prompt
|
2024-04-12 21:25:37 +02:00 |
|
Bram Schoenmakers
|
c93a8ac995
|
Adapt documentation, remove 'open source' claim on Kagi's LLM
|
2024-04-10 21:22:28 +02:00 |
|
Bram Schoenmakers
|
ddbc23ce63
|
Merge branch 'prompts'
|
2024-04-10 19:24:24 +02:00 |
|
Bram Schoenmakers
|
3bb896cfa8
|
Explain a prompt text generated by a function
|
2024-04-10 18:16:48 +02:00 |
|
Bram Schoenmakers
|
2252dc0451
|
Revise docstrings
|
2024-04-10 18:00:52 +02:00 |
|
Bram Schoenmakers
|
989f3816e9
|
Remove the kagi-fastgpt-prompt-synonym command
It's rather specific, it's up to the user to add it.
There is one example, kagi-fastgpt-prompt-definition, which should be sufficient.
|
2024-04-10 17:59:39 +02:00 |
|
Bram Schoenmakers
|
0700f6e51b
|
Mention that a buffer could be narrowed when operating on it
|
2024-04-10 16:29:57 +02:00 |
|
Bram Schoenmakers
|
ee601f4b2e
|
Merge branch 'main' into prompts
|
2024-04-10 12:08:55 +02:00 |
|
Bram Schoenmakers
|
e4200270c0
|
First attempt to improve error handling whenever FastGPT returns error output
|
2024-04-05 22:54:09 +02:00 |
|
Bram Schoenmakers
|
ba593c2fc3
|
Fix docstring
|
2024-04-05 21:13:09 +02:00 |
|
Bram Schoenmakers
|
ba26b5ec1e
|
Make the user-facing name an optional argument
|
2024-04-01 13:13:30 +02:00 |
|
Bram Schoenmakers
|
3fe442758c
|
Improve readability
|
2024-03-31 19:49:45 +02:00 |
|
Bram Schoenmakers
|
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 |
|
Bram Schoenmakers
|
af03f7d1f8
|
Remove TODO
|
2024-03-31 11:47:47 +02:00 |
|
Bram Schoenmakers
|
48d90f7208
|
Adjust define-kagi-fastgpt-prompt to match kagi-proofread functionality
|
2024-03-31 10:51:32 +02:00 |
|
Bram Schoenmakers
|
55487fab5b
|
Docstring and variable name changes
|
2024-03-28 22:33:11 +01:00 |
|
Bram Schoenmakers
|
3843afb785
|
Push the symbol name as a string in the car
|
2024-03-28 22:24:46 +01:00 |
|
Bram Schoenmakers
|
26bcbcea77
|
Add macro to define your own prompts
|
2024-03-28 22:14:23 +01:00 |
|
Bram Schoenmakers
|
5753556163
|
Fix language code for Czech
|
2024-03-27 22:28:21 +01:00 |
|
Bram Schoenmakers
|
407781fe4e
|
Adjust docstring
|
2024-03-23 10:05:57 +01:00 |
|
Bram Schoenmakers
|
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 |
|
Bram Schoenmakers
|
554a19285b
|
Isolate the prompt construction in a separate function
|
2024-03-22 23:45:09 +01:00 |
|
Bram Schoenmakers
|
2b9ab2fa0a
|
Improve the placeholder handling in prompts
|
2024-03-22 23:07:11 +01:00 |
|
Bram Schoenmakers
|
658662bfd4
|
Remove the obsoleted function kagi-fastgpt
|
2024-03-19 21:42:06 +01:00 |
|
Bram Schoenmakers
|
47ef4d218f
|
Support traditional Chinese as possible summary language
|
2024-03-19 21:36:26 +01:00 |
|
Bram Schoenmakers
|
086b6b30f6
|
Let kagi-fastgpt-prompt use predefined prompts and fill in placeholders
|
2024-03-19 21:30:38 +01:00 |
|
Bram Schoenmakers
|
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 |
|
Bram Schoenmakers
|
72119bd9b7
|
Add no-cache parameter to kagi-summarize-{buffer,region}
|
2024-03-06 21:06:43 +01:00 |
|
Bram Schoenmakers
|
9773229d6b
|
Normalize to t when kagi-summarizer-cache is non-nil
|
2024-03-06 20:35:59 +01:00 |
|
Bram Schoenmakers
|
5732de8bcd
|
Add no-cache parameter to kagi-summarize
|
2024-03-06 20:28:23 +01:00 |
|
Bram Schoenmakers
|
6f9fd09471
|
Define a variable for storing default and user-defined FastGPT prompts
|
2024-03-01 22:46:14 +01:00 |
|
Bram Schoenmakers
|
0570505cff
|
Bump to version 0.4
|
2024-02-29 20:53:09 +01:00 |
|
Bram Schoenmakers
|
bad0c2a50e
|
Add docstring
|
2024-02-23 22:58:36 +01:00 |
|
Bram Schoenmakers
|
eb846635a0
|
Avoid repetition of the choices of the summary choices
|
2024-02-23 22:23:11 +01:00 |
|
Bram Schoenmakers
|
1702fadaeb
|
Adapt docstring
|
2024-02-22 07:05:01 +01:00 |
|
Bram Schoenmakers
|
28793401df
|
Allow kagi-summarize-buffer to be used non-interactively
|
2024-02-21 12:44:31 +01:00 |
|
Bram Schoenmakers
|
146d128cd2
|
let* to let
|
2024-02-18 22:28:38 +01:00 |
|
Bram Schoenmakers
|
f5cc1475bb
|
Refactored summarizer summary type selection
|
2024-02-18 22:17:21 +01:00 |
|
Bram Schoenmakers
|
01a761a2ff
|
Refactored summarizer engine selection and added tests
|
2024-02-18 20:19:44 +01:00 |
|
Bram Schoenmakers
|
7d6f6f1cf1
|
Refactored language selection
Fallback to English if all else fails (invalid language given and an
invalid default language code).
|
2024-02-18 09:08:54 +01:00 |
|
Bram Schoenmakers
|
016e453238
|
Reformat and add some comments
|
2024-02-18 08:03:01 +01:00 |
|
Bram Schoenmakers
|
6d1b4cbc0f
|
Docstring update
|
2024-02-18 07:47:34 +01:00 |
|
Bram Schoenmakers
|
21c9fcda38
|
Add tests on summary language, rename variable
|
2024-02-18 07:32:46 +01:00 |
|
Bram Schoenmakers
|
019391a618
|
Merge branch 'main' into test
|
2024-02-14 08:49:57 +01:00 |
|
Bram Schoenmakers
|
c32eb03aaf
|
Let kagi--fastgpt do the trimming
This will reduce the amount of newlines being printed on the shell.
|
2024-02-14 08:49:21 +01:00 |
|
Bram Schoenmakers
|
8197d8c4ff
|
kagi-fastgpt and kagi-fastgpt-prompt are alike, favor the latter
|
2024-02-14 08:46:37 +01:00 |
|