1
0
Fork 0

Update README

This commit is contained in:
Bram Schoenmakers 2024-04-12 23:13:05 +02:00
parent c91a470eda
commit fda16c6d48
Signed by: bram
GPG key ID: 0CCD19DFDC63258F

View file

@ -32,6 +32,24 @@ kagi.el has some functions that use FastGPT to perform certain operations on tex
- =kagi-proofread= :: Proofread a string or buffer.
- =kagi-fastgpt-prompt-definition= :: Returns the definition of a word.
*** Org Babel support
=kagi-fastgpt-prompt= can also be used from Org mode with source blocks. Make sure to initialize the package:
#+begin_src elisp
(require 'ob-kagi-fastgpt)
(ob-kagi-fastgpt-setup)
#+end_src
Then create a source block with 'language' =kagi-fastgpt=:
#+begin_src org
,#+begin_src kagi-fastgpt
Can Kagi FastGPT be used in Org mode?
,#+end_src
#+end_src
** Universal Summarizer
- =kagi-summarize-buffer= :: Summarizes the content of a buffer.
@ -238,6 +256,8 @@ Needless to say, the tests won't make actual API calls. Otherwise it wouldn't be
- =kagi-fastgpt-prompt-definition=: Define the a word.
- =kagi-proofread= is now defined with the macro.
- Org Babel support was added.
- =kagi-summarize= has a =no-cache= parameter to opt out from caching at Kagi's side.
- =kagi-summarize-buffer= and =kagi-summarize-region= also have a =no-cache= parameter which can be toggled interactively when called with the universal prefix.