elisa remote host

This commit is contained in:
Levi 2024-09-17 11:31:10 +02:00
parent df3e74ec55
commit ece50ac5b8
1 changed files with 12 additions and 6 deletions

View File

@ -8,20 +8,26 @@
(require 'module-pkg)
(setq elisa-embeddings-provider
(make-llm-ollama :embedding-model "nomic-embed-text"
:host "eris.fritz.box"))
(setq elisa-chat-provider
(make-llm-ollama :chat-model "sskostyaev/openchat:8k-rag"
:embedding-model "nomic-embed-text"
:host "eris.fritz.box"))
(setq elisa-limit 5)
(pkg/require 'elisa)
(defun my/elisa-setup ()
"Perform initial elisa setup."
(interactive)
(elisa-download-sqlite-vss)
(elisa-async-parse-all-manuals))
(setq elisa-embeddings-provider
(make-llm-ollama :embedding-model "nomic-embed-text"))
(setq elisa-chat-provider
(make-llm-ollama :chat-model "sskostyaev/openchat:8k-rag"
:embedding-model "nomic-embed-text"))
(setq elisa-limit 5)
(provide 'module-assistant)
;;; module-assistant.el ends here.