Zugriff auf ein lokales Modell per Shell-Skript
Read OriginalDieser Artikel erklärt, wie man ein einfaches Shell-Skript erstellt, um lokale Sprachmodelle mit Ollama über dessen HTTP-Endpunkt und curl abzufragen. Es wird gezeigt, wie man mit jq JSON-Daten erstellt, die Anfrage sendet und die Antwort in einer Markdown-Datei speichert. Enthält Installationshinweise für jq auf verschiedenen Linux-Distributionen und macOS.
Kommentare
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet