82e903223e
Updated screenshot with a more up to date FastGPT response
2024-02-14 20:36:41 +01:00
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
8197d8c4ff
kagi-fastgpt and kagi-fastgpt-prompt are alike, favor the latter
2024-02-14 08:46:37 +01:00
2c57f819ec
Use the kagi-bold face to format reference indices
2024-02-12 11:22:05 +01:00
0bb20e5295
Remove redundant quotes
2024-02-11 20:51:51 +01:00
16e20a9c88
Fix language selection menu, which showed the language code twice
2024-02-10 20:32:24 +01:00
78f69a017b
Update changelog
2024-02-09 20:50:50 +01:00
091609235e
Pass on the interactivity flag
2024-02-09 12:54:36 +01:00
852e7bd210
Rename function, adjust docstrings
2024-02-09 12:51:54 +01:00
cbb82bdca6
Improve readability a bit
2024-02-09 10:02:34 +01:00
a8a5786ace
Refactored and merged some common functionality
2024-02-09 08:40:41 +01:00
d95e5ebfbe
Change grammar check to proofreading
2024-02-08 22:58:26 +01:00
975a386725
Add function to check the grammar of a text or buffer
2024-02-08 22:30:33 +01:00
b6f059d703
Minor improvements in the README
2024-02-08 22:03:23 +01:00
a0423c6748
Update / simplify configuration snippet
2024-02-07 18:58:35 +01:00
1b88201fa9
Add autoload to kagi-translate and remove from kagi-summarize
2024-02-07 18:12:28 +01:00
4842a575dc
Instruct FastGPT to return the translation only
2024-02-07 15:56:52 +01:00
826ff6acb4
Rename summary type to summary format, fix docstrings
2024-02-04 08:32:49 +01:00
8d33f85234
Fix duplicate summary_type key in request object
2024-02-04 08:29:33 +01:00
224972590a
Mention new variable in README
2024-02-03 23:03:15 +01:00
88032764df
Add changelog entry
2024-02-03 08:44:49 +01:00
42710abac6
Implement summarizer call with ability to produce a take-away
2024-02-03 07:51:06 +01:00
ed41982ed3
Merge branch 'main' into summary-takeaway
2024-02-03 07:26:52 +01:00
6627fc20d2
Version bump for bugfix release
2024-02-03 07:05:12 +01:00
a30003dc5f
Generate the buffer if it doesn't exist
2024-02-03 07:03:48 +01:00
e409be20b4
Do not insert a list element if no insert prompt is needed
2024-02-03 07:00:46 +01:00
6996098c1d
Fix buffer display
2024-02-03 07:00:31 +01:00
eb3d486534
Started with takeaway summary support
2024-02-02 21:31:05 +01:00
58a8560b8c
Version bump to 0.3
2024-02-02 21:06:57 +01:00
80bfa864e6
Add asciicasts demonstrating kagi.el functionality
2024-02-02 21:01:09 +01:00
6617fb5e82
Fix call to obtain FastGPT responses
2024-01-28 22:11:36 +01:00
fe6a9f2b64
Fix construction of the summarizer languages
2024-01-28 20:12:39 +01:00
f9fd1d294a
Merge branch 'translate'
2024-01-26 18:02:55 +01:00
e67b76b163
Mention kagi-translate
2024-01-26 17:59:15 +01:00
b9f47b194c
Take the buffer content if a buffer was chosen
2024-01-26 17:58:04 +01:00
4ab79511c9
Trim the translation result
...
Make sure the result is shown in the echo area when the translation
is a single line followed by a number of trailing newlines.
2024-01-26 07:12:47 +01:00
2240dd4a47
Handle case when no input is given to the translator
2024-01-26 07:03:38 +01:00
eabf43c3d1
Return buffer content if the user selected a buffer
2024-01-25 12:50:57 +01:00
f62a79d842
Swap arguments, source and target language were flipped
2024-01-25 12:30:07 +01:00
c86ec2f520
Update Changelog
2024-01-25 12:14:36 +01:00
cba961a2c8
Convert $italic$ to an italic face in FastGPT output
2024-01-25 10:14:11 +01:00
cb8ac81db0
Convert markdown **bold** to bold face
2024-01-25 10:10:00 +01:00
a6cf81c652
Return the language entered by the user
...
The user is free to pick any language which is not necessarily covered
by kagi--languages.
2024-01-25 08:16:11 +01:00
d0cd974683
Read source and target language from the minibuffer (with history)
2024-01-25 08:00:08 +01:00
d41a55fb98
Maintain an alist of (LANGUAGE . LANG-CODE)
...
From this list, construct a user-facing string for language selection.
Because having the language code embedded in the language name itself
is not always desired.
2024-01-25 06:11:33 +01:00
dfcc46e34b
Add kagi-translate function
2024-01-21 22:53:27 +01:00
a0dd0346a2
Do not attempt to insert in read-only buffers
2024-01-21 11:09:25 +01:00
0321b635c0
Fix prefix interpretation
2024-01-21 11:05:27 +01:00
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