[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70584] [PATCH] gnu: Add emacs-llm.
From: |
Liliana Marie Prikler |
Subject: |
[bug#70584] [PATCH] gnu: Add emacs-llm. |
Date: |
Fri, 26 Apr 2024 19:00:04 +0200 |
User-agent: |
Evolution 3.48.4 |
Am Freitag, dem 26.04.2024 um 09:04 +0200 schrieb Roman Scherer:
> * gnu/packages/emacs-xyz.scm (emacs-llm): New variable.
>
> Change-Id: Ie89eac7a4f0a31245b6d826ae9885a7092528ced
> ---
> gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index 8a2ffc621d..8c712612b6 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -1606,6 +1606,31 @@ (define-public emacs-libgit
> libgit2 bindings for Emacs, intended to boost the performance of
> Magit.")
> (license license:gpl2+))))
>
> +(define-public emacs-llm
> + (package
> + (name "emacs-llm")
> + (version "0.13.0")
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/ahyatt/llm")
> + (commit version)))
> + (file-name (git-file-name name version))
> + (sha256 (base32
> +
> "1q7djz4zx1br4d3g46f1m5cbxwl050qjmsm2cy7zcww64rrkcj0l"))))
> + (build-system emacs-build-system)
> + (home-page "https://github.com/ahyatt/llm")
> + (synopsis " Emacs library abstracting Large Language Model
> capabilities.")
> + (description
> + "This is a library for interfacing with Large Language Models.
> It allows
> +elisp code to use LLMs, but allows gives the end-user an option to
> choose
> +which LLM they would prefer. This is especially useful for LLMs,
> since there
> +are various high-quality ones that in which API access costs money,
> as well as
> +locally installed ones that are free, but of medium quality.
> Applications
> +using LLMs can use this library to make sure their application works
> +regardless of whether the user has a local LLM or is paying for API
> access.")
> + (license license:gpl3+)))
> +
No advertising nonfree software, thanks.
Also, I'd like you to know that training such "high quality" LLMs comes
at a larger cost than is given back in use in societal or environmental
terms.
Cheers
[bug#70584] [PATCH v2] gnu: Add emacs-llm., Roman Scherer, 2024/04/27