9e1bdf8428
Update documentation for the new FastGPT functions
2024-01-21 10:51:43 +01:00
bf599591f0
Extend FastGPT function to insert result at point
...
Split the interactive and non-interactive functionality in separate
functions. This allows the interactive command to be extended with an
insert parameter.
2024-01-21 10:42:09 +01:00
f61c3c7d0f
Add kagi-fastgpt-prompt to send queries from the minibuffer or Lisp code
2024-01-21 09:16:01 +01:00
c6eb41df35
Merge branch 'main' of apps.bram85.nl:bram/kagi.el
2024-01-20 10:36:11 +01:00
8aa9510ed1
Fix typo in Korean language code
2024-01-18 20:44:30 +01:00
31115b2700
Mention kagi-bold in the configuration block
2024-01-16 21:50:15 +01:00
7f89fdbf9b
Set the alternative key binding C-c C-o from a mode hook
2024-01-16 21:47:44 +01:00
05d37eb89e
Do not ask for summary insertion for read-only buffers
2024-01-16 06:59:15 +01:00
d75542ac7f
Fix error when either language or engine are nil
2024-01-16 06:30:24 +01:00
f054879d37
Merge branch 'interactive-lang-engine-choice'
2024-01-15 16:35:47 +01:00
69993aa2f2
Merge branch 'main' of apps.bram85.nl:bram/kagi.el
2024-01-15 16:34:45 +01:00
75950967b9
Mention the help command, or suggest to use describe-keymap function
2024-01-14 14:57:54 +01:00
8b02973ad3
Add FastGPT screenshot
2024-01-14 14:57:54 +01:00
c2e13b23f8
Mention the help command, or suggest to use describe-keymap function
2024-01-14 10:14:31 +01:00
3a5d8e2181
Minor formatting
2024-01-14 10:11:45 +01:00
38c68d96fc
Update README with new summary
2024-01-14 10:05:07 +01:00
ad737301a3
Language codes should be upcased instead of downcased
2024-01-14 09:47:09 +01:00
113f98500d
Remove redundant newline
2024-01-14 09:43:32 +01:00
796018bc23
Add universal prefix support for the summarizer commands
...
These prompt the user whether the summary should be inserted at point,
which language to use and which summarizer engine to use.
2024-01-14 09:36:59 +01:00
204e1b254a
Look up correct language code from kagi--summarizer-languages
2024-01-14 09:11:09 +01:00
f519f245d3
Convert arguments to lowercase
2024-01-14 08:29:08 +01:00
f82823c422
Merge branch 'main' of apps.bram85.nl:bram/kagi.el
2024-01-14 08:06:40 +01:00
99e8792dee
Update Changelog
2024-01-14 08:04:29 +01:00
f5316c1c4e
Allow the user to select target language and engine, ask for insertion
...
With a prefix argument, kagi.el will ask the possibilities one by one.
2024-01-13 21:01:24 +01:00
d22315fcf2
Add FastGPT screenshot
2024-01-13 14:20:20 +01:00
602a67bb59
Merge branch 'main' into interactive-lang-engine-choice
2024-01-13 12:57:43 +01:00
b63844a6f0
Update changelog
2024-01-13 10:15:03 +01:00
cd2856b427
Make sure that summary input is at least 50 words
...
This commit addresses the follow-up of issue #2 .
2024-01-13 10:08:34 +01:00
9fbf93b860
Improve error handling for the summarizer
2024-01-13 09:03:49 +01:00
094628fc8f
Add section on overriding C-c C-o
2024-01-12 14:59:16 +01:00
5097198ef9
Return slightly richter test responses
2024-01-11 22:11:56 +01:00
4fd1372b42
Add ability to return stubbed responses
...
When developing / debugging, it's a waste of API credit to make actual
calls. Flip the kagi-stubbed-responses flag to t to enable dummy responses.
2024-01-11 21:44:17 +01:00
0d1d402ab7
Actually use the new variable name
2024-01-11 20:49:11 +01:00
07e6e66c0f
Bump shell-maker dependency
...
This version has protection for accidental buffer closure built-in. No
need to customize it in your own init file.
2024-01-11 20:44:51 +01:00
2d3e55c615
Add changelog to README
...
Hoping that Forgejo properly expands macros.
2024-01-11 20:39:18 +01:00
7b76af8cd2
Rename variable for consistency
2024-01-11 20:23:16 +01:00
48bb880885
Rename the custom variables with the entry point URLs
...
Took the liberty to rename because the package is still in its
infancy. Besides, it's unlikely that anyone would change these URLs in
their init file.
2024-01-11 20:19:06 +01:00
bc0eb7023b
Detect URL properly, such that correct API call is made
...
This fixes issue #2 . Whenever a text contains an URL anywhere, the
kagi-url-p function would return positive and the text is submitted as
an URL to the Kagi Summarizer API. Now this is only done when the
string is a URL only, otherwise the text summarizer is invoked.
2024-01-11 19:20:39 +01:00
fe72d5cebc
Add configuration example to confirm closing the FastGPT buffer
...
Source:
https://christiantietze.de/posts/2024/01/chatgpt-shell-confirm-close-compose-buffer/
2024-01-11 07:10:52 +01:00
1cfb4c6886
Update copyright
2024-01-10 21:46:55 +01:00
6d8f786d04
Explain C-c RET
2024-01-10 16:49:04 +01:00
93e8ab4426
Mention that the kagi package in on MELPA
2024-01-08 06:21:55 +01:00
79fcc316f0
Fix formatting
2024-01-07 22:35:28 +01:00
f2533fe259
Minor rephrase
2024-01-05 23:52:24 +01:00
4e70777b11
Put engine descriptions in the customize type specification
2024-01-05 23:50:13 +01:00
6c8cf63f7c
Fix minor typo in docstring
2024-01-05 23:06:56 +01:00
71a626e691
Add language codes to each car of the language list
2024-01-05 23:04:52 +01:00
5ae159f109
Remove uncertainty around MELPA submission
...
A MELPA pull request is pending at the moment of writing.
2024-01-05 22:51:57 +01:00
4524ed72a2
Allow to change the language and the summarizer engine interactively
...
To be extended to the other interactive functions.
2024-01-05 22:48:46 +01:00
7945594767
Rename variable for consistence
2024-01-05 22:32:42 +01:00