fixing ellama to work betterer
This commit is contained in:
parent
4edaf816d5
commit
57db71b7f6
31
README.org
31
README.org
|
@ -2119,12 +2119,33 @@ Idk, let's try this i guess
|
||||||
(setopt ellama-buffer-mode 'markdown-mode
|
(setopt ellama-buffer-mode 'markdown-mode
|
||||||
ellama-user-nick "Chris"
|
ellama-user-nick "Chris"
|
||||||
ellama-assistant-nick "Jeeves"
|
ellama-assistant-nick "Jeeves"
|
||||||
|
ellama-auto-scroll t
|
||||||
ellama-provider
|
ellama-provider
|
||||||
(make-llm-ollama
|
(make-llm-ollama
|
||||||
:scheme "https"
|
:scheme "https"
|
||||||
:host "ai.tfcconnection.org"
|
:host "ai.tfcconnection.org"
|
||||||
:port 443
|
:port 443
|
||||||
:chat-model "mistral" :embedding-model "mistral"))
|
:chat-model "dolphin-mistral" :embedding-model "dolphin-mistral"))
|
||||||
|
|
||||||
|
(setopt ellama-providers
|
||||||
|
'(("mistral" . (make-llm-ollama
|
||||||
|
:scheme "https"
|
||||||
|
:host "ai.tfcconnection.org"
|
||||||
|
:port 443
|
||||||
|
:chat-model "mistral"
|
||||||
|
:embedding-model "mistral"))
|
||||||
|
("openhermes" . (make-llm-ollama
|
||||||
|
:scheme "https"
|
||||||
|
:host "ai.tfcconnection.org"
|
||||||
|
:port 443
|
||||||
|
:chat-model "openhermes:7b-mistral-v2.5-q6_K"
|
||||||
|
:embedding-model "openhermes:7b-mistral-v2.5-q6_K"))
|
||||||
|
("dolphin" . (make-llm-ollama
|
||||||
|
:scheme "https"
|
||||||
|
:host "ai.tfcconnection.org"
|
||||||
|
:port 443
|
||||||
|
:chat-model "dolphin-uncensored"
|
||||||
|
:embedding-model "dolphin-uncensored"))))
|
||||||
:general
|
:general
|
||||||
(chris/leader-keys
|
(chris/leader-keys
|
||||||
:states '(normal visual)
|
:states '(normal visual)
|
||||||
|
@ -2133,9 +2154,11 @@ Idk, let's try this i guess
|
||||||
"la" 'ellama-chat
|
"la" 'ellama-chat
|
||||||
"lb" 'ellama-ask-about
|
"lb" 'ellama-ask-about
|
||||||
"lc" 'ellama-code-review
|
"lc" 'ellama-code-review
|
||||||
"lec" 'ellama-enhance-code
|
"lec" 'ellama-code-improve
|
||||||
"leg" 'ellama-enhance-grammar-spelling
|
"leg" 'ellama-improve-grammar
|
||||||
"lew" 'ellama-enhance-wording))
|
"leC" 'ellama-improve-conciseness
|
||||||
|
"lew" 'ellama-improve-wording
|
||||||
|
"ls" 'ellama-provider-select))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Jinx
|
** Jinx
|
||||||
|
|
31
init.el
31
init.el
|
@ -1613,12 +1613,33 @@ Optional BACKEND must be `re-reveal' or a backend derived from it."
|
||||||
(setopt ellama-buffer-mode 'markdown-mode
|
(setopt ellama-buffer-mode 'markdown-mode
|
||||||
ellama-user-nick "Chris"
|
ellama-user-nick "Chris"
|
||||||
ellama-assistant-nick "Jeeves"
|
ellama-assistant-nick "Jeeves"
|
||||||
|
ellama-auto-scroll t
|
||||||
ellama-provider
|
ellama-provider
|
||||||
(make-llm-ollama
|
(make-llm-ollama
|
||||||
:scheme "https"
|
:scheme "https"
|
||||||
:host "ai.tfcconnection.org"
|
:host "ai.tfcconnection.org"
|
||||||
:port 443
|
:port 443
|
||||||
:chat-model "mistral" :embedding-model "mistral"))
|
:chat-model "dolphin-mistral" :embedding-model "dolphin-mistral"))
|
||||||
|
|
||||||
|
(setopt ellama-providers
|
||||||
|
'(("mistral" . (make-llm-ollama
|
||||||
|
:scheme "https"
|
||||||
|
:host "ai.tfcconnection.org"
|
||||||
|
:port 443
|
||||||
|
:chat-model "mistral"
|
||||||
|
:embedding-model "mistral"))
|
||||||
|
("openhermes" . (make-llm-ollama
|
||||||
|
:scheme "https"
|
||||||
|
:host "ai.tfcconnection.org"
|
||||||
|
:port 443
|
||||||
|
:chat-model "openhermes:7b-mistral-v2.5-q6_K"
|
||||||
|
:embedding-model "openhermes:7b-mistral-v2.5-q6_K"))
|
||||||
|
("dolphin" . (make-llm-ollama
|
||||||
|
:scheme "https"
|
||||||
|
:host "ai.tfcconnection.org"
|
||||||
|
:port 443
|
||||||
|
:chat-model "dolphin-uncensored"
|
||||||
|
:embedding-model "dolphin-uncensored"))))
|
||||||
:general
|
:general
|
||||||
(chris/leader-keys
|
(chris/leader-keys
|
||||||
:states '(normal visual)
|
:states '(normal visual)
|
||||||
|
@ -1627,9 +1648,11 @@ Optional BACKEND must be `re-reveal' or a backend derived from it."
|
||||||
"la" 'ellama-chat
|
"la" 'ellama-chat
|
||||||
"lb" 'ellama-ask-about
|
"lb" 'ellama-ask-about
|
||||||
"lc" 'ellama-code-review
|
"lc" 'ellama-code-review
|
||||||
"lec" 'ellama-enhance-code
|
"lec" 'ellama-code-improve
|
||||||
"leg" 'ellama-enhance-grammar-spelling
|
"leg" 'ellama-improve-grammar
|
||||||
"lew" 'ellama-enhance-wording))
|
"leC" 'ellama-improve-conciseness
|
||||||
|
"lew" 'ellama-improve-wording
|
||||||
|
"ls" 'ellama-provider-select))
|
||||||
|
|
||||||
(use-package jinx
|
(use-package jinx
|
||||||
;; :hook (emacs-startup . global-jinx-mode)
|
;; :hook (emacs-startup . global-jinx-mode)
|
||||||
|
|
Loading…
Reference in a new issue