"Updates"

This commit is contained in:
2026-06-26 08:50:55 +02:00
parent 0232326b85
commit 4e3ea11ace
2 changed files with 0 additions and 44 deletions
-43
View File
@@ -1,43 +0,0 @@
# LocalAI
```
sudo mkdir -p /mnt/data/localai
```
```bash
cd /mnt/data
git clone https://github.com/go-skynet/LocalAI
cd LocalAI
# (optional) Checkout a specific LocalAI tag
# git checkout -b build <TAG>
# copy your models to models/
wget https://gpt4all.io/models/ggml-gpt4all-j.bin -O models/ggml-gpt4all-j
# cp your-model.bin models/
# Use a template from the examples
cp -rf prompt-templates/ggml-gpt4all-j.tmpl models/
# (optional) Edit the .env file to set things like context size and threads
# vim .env
docker-compose up -d --build
# Now API is accessible at localhost:8080
curl http://localhost:8080/v1/models
# {"object":"list","data":[{"id":"ggml-gpt4all-j","object":"model"}]}
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
"model": "ggml-gpt4all-j",
"messages": [{"role": "user", "content": "How are you?"}],
"temperature": 0.9
}'
# {"model":"ggml-gpt4all-j","choices":[{"message":{"role":"assistant","content":"I'm doing well, thanks. How about you?"}}]}
```
[https://localai.io](https://localai.io "https://localai.io")
-1
View File
@@ -45,7 +45,6 @@ it IN A 176.188.240.123
jellyfin IN A 176.188.240.123
jellyseerr IN A 176.188.240.123
kontadenn IN A 176.188.240.123
lai IN A 176.188.240.123
lghn IN A 176.188.240.123
lnk IN A 176.188.240.123
lud IN A 176.188.240.123