Zack Saadioui
8/27/2024
1
2
bash
docker pull ollama/ollama1
2
bash
docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama1
--gpus=all1
2
bash
ollama run llama31
http://localhost:11434/api/chat1
2
3
4
5
text
let
    Source = Json.Document(Web.Contents("http://localhost:11434/api/chat", [Headers = ["Content-Type"="application/json"], Content = Text.ToBinary("{ \"model\": \"llama3\", \"messages\": [{ \"role\": \"user\", \"content\": \"Hello! Tell me about the benefits of Power BI?\" }] }")]))
in
    SourceCopyright © Arsturn 2025