[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/elisa e92628390b 82/98: Update example configuration
From: |
ELPA Syncer |
Subject: |
[elpa] externals/elisa e92628390b 82/98: Update example configuration |
Date: |
Wed, 17 Jul 2024 18:58:07 -0400 (EDT) |
branch: externals/elisa
commit e92628390bd253ca419222a4405ab5954a88c7a9
Author: Sergey Kostyaev <kostyaev.sergey2@wb.ru>
Commit: Sergey Kostyaev <kostyaev.sergey2@wb.ru>
Update example configuration
---
README.org | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/README.org b/README.org
index 33ce017c23..f8f308a21a 100644
--- a/README.org
+++ b/README.org
@@ -138,17 +138,28 @@ Removes collection and all its data from index.
** Configuration
-Example configuration. With default installation you don't need it.
+Example configuration.
#+begin_src emacs-lisp
(use-package elisa
:init
(setopt elisa-limit 5)
+ ;; reranker increases answer quality significantly
+ (setopt elisa-reranker-enabled t)
(require 'llm-ollama)
- (setopt elisa-embeddings-provider (make-llm-ollama :embedding-model
"nomic-embed-text"))
- (setopt elisa-chat-provider (make-llm-ollama
- :chat-model "sskostyaev/openchat:8k-rag"
- :embedding-model "nomic-embed-text")))
+ ;; gemma 2 works very good in my use cases
+ ;; it also boasts strong multilingual capabilities
+ (setopt elisa-chat-provider
+ (make-llm-ollama
+ :chat-model "gemma2:9b-instruct-q6_K"
+ :embedding-model "chatfire/bge-m3:q8_0"
+ ;; set context window to 8k
+ :default-chat-non-standard-params '(("num_ctx" . 8192))))
+ ;; this embedding model has stong multilingual capabilities
+ (setopt elisa-embeddings-provider (make-llm-ollama :embedding-model
"chatfire/bge-m3:q8_0"))
+ :config
+ ;; searxng works better than duckduckgo in my tests
+ (setopt elisa-web-search-function 'elisa-search-searxng))
#+end_src
*** ELISA Custom Variables
- [elpa] externals/elisa cecc5cb13f 55/98: Make sync parsing interactive, (continued)
- [elpa] externals/elisa cecc5cb13f 55/98: Make sync parsing interactive, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 4cad3085fd 57/98: Use more async calls to prevent emacs from blocking, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa ad130b564f 60/98: Add parse file function, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa b419fb2cf2 61/98: Add code for parsing directory as an elisa collection, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa ef06534f46 62/98: Implement incremental parsing, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 0e32d7bb5c 63/98: Add async directory parsing, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa f744ce305a 67/98: Add reparse current collection command, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 9ad7827337 70/98: Fix semantic split with single chunk, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 439ed1d4f8 76/98: Make executable customization simpler, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa e5691f59c5 80/98: Make syncronous functions non-interactive, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa e92628390b 82/98: Update example configuration,
ELPA Syncer <=
- [elpa] externals/elisa 39915439a4 84/98: Update installation instructions, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa fbfe3b4ae1 86/98: Merge pull request #12 from s-kostyaev/semantic-split, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 3882b9b322 87/98: Bump version, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 04d580f072 92/98: add vector- and vss-path to injected variables on async, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 1acc89545d 31/98: Merge pull request #13 from s-kostyaev/fix-builtin-manuals-parsing, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 3eff22d4b6 53/98: Use new railways for info manuals, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 503083c0fb 58/98: Truncate long lines in done message, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 25e0df1dca 65/98: Create customization group, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 14af9ae960 66/98: Improve collection management, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 7460059992 85/98: Update CI, ELPA Syncer, 2024/07/17