[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70584] [PATCH] gnu: Add emacs-llm.
From: |
Roman Scherer |
Subject: |
[bug#70584] [PATCH] gnu: Add emacs-llm. |
Date: |
Fri, 26 Apr 2024 09:04:50 +0200 |
* 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+)))
+
(define-public emacs-magit
;; Use this unreleased commit to benefit from a recent improvements with
;; regard to adding git trailers such as "Reviewed-by".
base-commit: 259372b7a95e3fea75a9ce1127a904e3f1ea3591
--
2.41.0
- [bug#70584] [PATCH] gnu: Add emacs-llm.,
Roman Scherer <=
[bug#70584] [PATCH v2] gnu: Add emacs-llm., Roman Scherer, 2024/04/27