[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/elisa f3d21b65d4 04/98: Fill readme with simple use cas
From: |
ELPA Syncer |
Subject: |
[elpa] externals/elisa f3d21b65d4 04/98: Fill readme with simple use case |
Date: |
Wed, 17 Jul 2024 18:57:59 -0400 (EDT) |
branch: externals/elisa
commit f3d21b65d46d8335edaf9b19b1b23e19d8bba794
Author: Sergey Kostyaev <kostyaev.sergey2@wb.ru>
Commit: Sergey Kostyaev <kostyaev.sergey2@wb.ru>
Fill readme with simple use case
---
README.org | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/README.org b/README.org
index 3c7ca6de67..861d787d5a 100644
--- a/README.org
+++ b/README.org
@@ -16,8 +16,49 @@ for both beginners and advanced Emacs users.
** Commands
+*** elisa-chat
+
+Entrypoint. Makes similarity search in index, add semantically similar
+info nodes into context and query llm for prompt. Uses ~ellama~ under
+the hood. Call one of parse manuals functions to create index before
+use it.
+
+*** elisa-download-sqlite-vss
+
+Download [[https://github.com/asg017/sqlite-vss][sqlite vss]] extension to
provide similarity search. Will be
+called automatically if needed.
+
+*** elisa-async-parse-builtin-manuals
+
+Parse builtin emacs info manuals asyncronously. Can take long time.
+
+*** elisa-async-parse-external-manuals
+
+Parse external emacs info manuals asyncronously.
+
+*** elisa-async-parse-all-manuals
+
+Parse all emacs info manuals asyncronously.
+
+One of parse functions should be called before ~elisa-chat~ to create
+index.
+
** Configuration
+Example configuration. I use
[[https://github.com/toshsan/embedding-server][toshsan/embedding-server]] for
embeddings.
+
+#+begin_src emacs-lisp
+ (use-package elisa
+ :init
+ (setopt elisa-embeddings-provider (progn
+ (require 'llm-openai)
+ (setq llm-warn-on-nonfree nil)
+ (make-llm-openai-compatible
+ :embedding-model "all-MiniLM-L6-v2"
+ :url "http://localhost:8000/v1"
+ :key "YOUR_KEY"))))
+#+end_src
+
** Contributions
To contribute, submit a pull request or report a bug. This library is
- [elpa] externals/elisa 4063c45908 78/98: Add custom variables documentation, (continued)
- [elpa] externals/elisa 4063c45908 78/98: Add custom variables documentation, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 0c432dd1c8 81/98: Add commands to documentation, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 29c17f86a7 83/98: Update package description, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa cb69d24b0d 88/98: Improve documentation, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 8d0ad42134 90/98: Small documentation markup fixes, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 55200f8d8b 89/98: Fix readme markup for github rendering, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 21048a5033 91/98: Add melpa stable badge, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa fe93e52d2a 95/98: Review fixes, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 56bc22a8c3 96/98: Improve package documentation, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa c842f1ce32 98/98: Bump version, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa f3d21b65d4 04/98: Fill readme with simple use case,
ELPA Syncer <=
- [elpa] externals/elisa 126def8ac8 02/98: Add license file, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa c2532617c9 11/98: Fix mistral model name, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa a59a3cd130 12/98: Add news, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 260504512f 13/98: Add information about creating index into docs, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa a3d6d06fa6 14/98: Add info how ELISA works into docs, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 261aae5b2e 15/98: Add CI, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa ba1633ba07 17/98: Merge pull request #1 from s-kostyaev/add-ci, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa dac7f7e184 18/98: Refactor asyncronous parsing, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 2cafe8ae2c 19/98: Merge pull request #4 from s-kostyaev/fix-elpaca-installation, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 05efc8eb0d 20/98: Bump version, ELPA Syncer, 2024/07/17