fixing ellama to work betterer
This commit is contained in:
		
							parent
							
								
									4edaf816d5
								
							
						
					
					
						commit
						57db71b7f6
					
				
					 3 changed files with 55 additions and 9 deletions
				
			
		
							
								
								
									
										31
									
								
								README.org
									
										
									
									
									
								
							
							
						
						
									
										31
									
								
								README.org
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -2119,12 +2119,33 @@ Idk, let's try this i guess
 | 
			
		|||
  (setopt ellama-buffer-mode 'markdown-mode
 | 
			
		||||
          ellama-user-nick "Chris"
 | 
			
		||||
          ellama-assistant-nick "Jeeves"
 | 
			
		||||
          ellama-auto-scroll t
 | 
			
		||||
          ellama-provider
 | 
			
		||||
	  (make-llm-ollama 
 | 
			
		||||
           :scheme "https"
 | 
			
		||||
           :host "ai.tfcconnection.org"
 | 
			
		||||
           :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
 | 
			
		||||
  (chris/leader-keys
 | 
			
		||||
    :states '(normal visual)
 | 
			
		||||
| 
						 | 
				
			
			@ -2133,9 +2154,11 @@ Idk, let's try this i guess
 | 
			
		|||
    "la" 'ellama-chat
 | 
			
		||||
    "lb" 'ellama-ask-about
 | 
			
		||||
    "lc" 'ellama-code-review
 | 
			
		||||
    "lec" 'ellama-enhance-code
 | 
			
		||||
    "leg" 'ellama-enhance-grammar-spelling
 | 
			
		||||
    "lew" 'ellama-enhance-wording))
 | 
			
		||||
    "lec" 'ellama-code-improve
 | 
			
		||||
    "leg" 'ellama-improve-grammar
 | 
			
		||||
    "leC" 'ellama-improve-conciseness
 | 
			
		||||
    "lew" 'ellama-improve-wording
 | 
			
		||||
    "ls" 'ellama-provider-select))
 | 
			
		||||
#+end_src
 | 
			
		||||
 | 
			
		||||
** 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
 | 
			
		||||
          ellama-user-nick "Chris"
 | 
			
		||||
          ellama-assistant-nick "Jeeves"
 | 
			
		||||
          ellama-auto-scroll t
 | 
			
		||||
          ellama-provider
 | 
			
		||||
	  (make-llm-ollama 
 | 
			
		||||
           :scheme "https"
 | 
			
		||||
           :host "ai.tfcconnection.org"
 | 
			
		||||
           :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
 | 
			
		||||
  (chris/leader-keys
 | 
			
		||||
    :states '(normal visual)
 | 
			
		||||
| 
						 | 
				
			
			@ -1627,9 +1648,11 @@ Optional BACKEND must be `re-reveal' or a backend derived from it."
 | 
			
		|||
    "la" 'ellama-chat
 | 
			
		||||
    "lb" 'ellama-ask-about
 | 
			
		||||
    "lc" 'ellama-code-review
 | 
			
		||||
    "lec" 'ellama-enhance-code
 | 
			
		||||
    "leg" 'ellama-enhance-grammar-spelling
 | 
			
		||||
    "lew" 'ellama-enhance-wording))
 | 
			
		||||
    "lec" 'ellama-code-improve
 | 
			
		||||
    "leg" 'ellama-improve-grammar
 | 
			
		||||
    "leC" 'ellama-improve-conciseness
 | 
			
		||||
    "lew" 'ellama-improve-wording
 | 
			
		||||
    "ls" 'ellama-provider-select))
 | 
			
		||||
 | 
			
		||||
(use-package jinx
 | 
			
		||||
  ;; :hook (emacs-startup . global-jinx-mode)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								recentf
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								recentf
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
;;; Automatically generated by ‘recentf’ on Wed Oct 25 05:57:27 2023.
 | 
			
		||||
;;; Automatically generated by ‘recentf’ on Wed Feb 21 13:54:13 2024.
 | 
			
		||||
 | 
			
		||||
(setq recentf-list
 | 
			
		||||
      '(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue