Zack Saadioui
8/27/2024
1
curl https://ollama.ai/install.sh | sh
1
ollama run mistral
1
2
bash
pip install openlit
1
2
3
python
import openlit
openlit.init(otlp_endpoint="YOUR_OTEL_ENDPOINT")
1
YOUR_OTEL_ENDPOINT
1
http://127.0.0.1:4318
1
~/.ollama/logs/server.log
1
journalctl -u ollama --no-pager
1
%LOCALAPPDATA%\Ollama ext{server.log}
1
cat
1
grep
1
2
bash
cat ~/.ollama/logs/server.log | grep 'error'
1
2
3
4
5
6
7
GIN | 2024-02-21T21:09:40.438Z | 200 | 1.65550427s | 127.0.0.1 | POST "/api/generate"
{
"model": "mistral",
"tokens": 600,
"eval_duration": 250,
"eval_count": 15
}
Copyright © Arsturn 2024