branch: externals/ellama commit 73d07c36529f7129e9d9be8ecacf41be953ac5e9 Author: Sergey Kostyaev <sskosty...@gmail.com> Commit: Sergey Kostyaev <sskosty...@gmail.com>
Improve docs --- README.org | 7 +++++++ ellama.el | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 21a8a7a336..89a531cce4 100644 --- a/README.org +++ b/README.org @@ -229,6 +229,13 @@ Chat translation enable. Chat translation disable. +*** ellama-solve-reasoning-problem + +Solve reasoning problem with [[https://arxiv.org/pdf/2406.12442][Absctraction of Thought]] technique. It +uses a chain of multiple messages to LLM and help it to provide much +better answers on reasoning problems. Even small LLMs like [[https://ollama.com/library/phi3][phi3-mini]] +provides much better results on reasoning tasks using AoT. + ** Keymap Here is a table of keybindings and their associated functions in diff --git a/ellama.el b/ellama.el index 42e3fce000..de3ae60526 100644 --- a/ellama.el +++ b/ellama.el @@ -1334,8 +1334,10 @@ last step only. (when tl (ellama-chain res tl (cons res acc)))))))) +;;;###autoload (defun ellama-solve-reasoning-problem (problem) - "Solve reasoning PROBLEM with absctraction of thought." + "Solve reasoning PROBLEM with absctraction of thought. +Problem will be solved with the chain of questions to LLM." (interactive "sProblem: ") (ellama-chain problem