Benutzer-Werkzeuge

Webseiten-Werkzeuge


ollama

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
ollama [2024/08/03 13:40]
jango
ollama [2025/01/30 16:25] (aktuell)
jango
Zeile 27: Zeile 27:
 Start ollama Start ollama
 <code> <code>
 +// with debug output
 +ollama serve
 +
 +// in background
 start /B ollama serve >NUL 2>&1 start /B ollama serve >NUL 2>&1
-ollama run llama3+</code> 
 + 
 +<code> 
 +set /p content=<test.txt 
 +ollama run llama3 "Summarize this file: %content%"
 </code> </code>
  
Zeile 34: Zeile 42:
 <code> <code>
 curl http://localhost:11434/api/generate -d '{ curl http://localhost:11434/api/generate -d '{
-  "model": "llama3.1",+  "model": "llama3",
   "prompt":"Why is the sky blue?"   "prompt":"Why is the sky blue?"
 }' }'
Zeile 42: Zeile 50:
 <code> <code>
 curl http://localhost:11434/api/chat -d '{ curl http://localhost:11434/api/chat -d '{
-  "model": "llama3.1",+  "model": "llama3",
   "messages": [   "messages": [
     { "role": "user", "content": "why is the sky blue?" }     { "role": "user", "content": "why is the sky blue?" }
Zeile 62: Zeile 70:
  
   * [[https://ollama.com/|Homepage]]   * [[https://ollama.com/|Homepage]]
 +  * [[https://www.gpu-mart.com/blog/how-to-install-and-use-ollama-webui-on-windows|Installing Open Web UI on Windows]]
ollama.1722685249.txt.gz · Zuletzt geändert: 2024/08/03 13:40 von jango