indentation fixed, deleted ellama, add mtplx
This commit is contained in:
@@ -88,33 +88,6 @@
|
|||||||
;;
|
;;
|
||||||
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
||||||
;; they are implemented.
|
;; they are implemented.
|
||||||
;; embedd llms in emacs. with org-mode support
|
|
||||||
(use-package ellama
|
|
||||||
:init
|
|
||||||
;; setup key bindings
|
|
||||||
(setopt ellama-keymap-prefix "C-c e")
|
|
||||||
;; language you want ellama to translate to
|
|
||||||
(setopt ellama-language "Dutch")
|
|
||||||
;; could be llm-openai for example
|
|
||||||
(require 'llm-ollama)
|
|
||||||
(setopt ellama-provider
|
|
||||||
(make-llm-ollama
|
|
||||||
;; this model should be pulled to use it
|
|
||||||
;; value should be the same as you print in terminal during pull
|
|
||||||
:chat-model "llama3.1:8b-instruct-q8_0"
|
|
||||||
:embedding-model "nomic-embed-text"
|
|
||||||
:default-chat-non-standard-params '(("num_ctx" . 8192))))
|
|
||||||
;; Naming new sessions with llm
|
|
||||||
(setopt ellama-naming-provider
|
|
||||||
(make-llm-ollama
|
|
||||||
:chat-model "llama3.1:8b-instruct-q8_0"
|
|
||||||
:embedding-model "nomic-embed-text"
|
|
||||||
:default-chat-non-standard-params '(("stop" . ("\n")))))
|
|
||||||
(setopt ellama-naming-scheme 'ellama-generate-name-by-llm)
|
|
||||||
;; Translation llm provider
|
|
||||||
(setopt ellama-translation-provider (make-llm-ollama
|
|
||||||
:chat-model "llama3.1"
|
|
||||||
:embedding-model "nomic-embed-text")))
|
|
||||||
;; https://yannesposito.com/posts/0029-ai-assistants-in-doom-emacs-31-on-macos-with-clojure-mcp-server/index.html
|
;; https://yannesposito.com/posts/0029-ai-assistants-in-doom-emacs-31-on-macos-with-clojure-mcp-server/index.html
|
||||||
;; LLM
|
;; LLM
|
||||||
(use-package! gptel
|
(use-package! gptel
|
||||||
@@ -155,8 +128,13 @@
|
|||||||
:protocol "http"
|
:protocol "http"
|
||||||
:stream t
|
:stream t
|
||||||
:models '(Qwen3-Coder-Next-UD-Q4_K_XL))
|
:models '(Qwen3-Coder-Next-UD-Q4_K_XL))
|
||||||
(set-default gptel-model 'Qwen3-Coder-Next-UD-Q4_K_XL))
|
|
||||||
|
|
||||||
|
(gptel-make-openai "MTPLX on mac"
|
||||||
|
:host "mb:8001"
|
||||||
|
:protocol "http"
|
||||||
|
:stream t
|
||||||
|
:models '(mtplx-qwen38-27b-optimized-speed))
|
||||||
|
(set-default gptel-model 'mtplx-qwen38-27b-optimized-speed))
|
||||||
|
|
||||||
;; elixir
|
;; elixir
|
||||||
;; inspiration https://medium.com/@victor.nascimento/elixir-emacs-development-2023-edition-1a6ccc40629
|
;; inspiration https://medium.com/@victor.nascimento/elixir-emacs-development-2023-edition-1a6ccc40629
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
(custom-set-variables
|
||||||
|
;; custom-set-variables was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
'(safe-local-variable-values
|
||||||
|
'((qwan-markdown-attachment-dir . "/Users/willem/dev/elixir/firehose/app/priv/static/images/blog/2026")
|
||||||
|
(qwan-markdown-attachment-dir . "app/priv/static/images/blog/2026")
|
||||||
|
(eval setq-local org-roam-db-location
|
||||||
|
(expand-file-name "org-roam.db" org-roam-directory))
|
||||||
|
(eval setq-local org-roam-directory
|
||||||
|
(expand-file-name
|
||||||
|
(locate-dominating-file default-directory ".dir-locals.el"))))))
|
||||||
|
(custom-set-faces
|
||||||
|
;; custom-set-faces was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user