ai:ollama-openwebui
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ai:ollama-openwebui [2024/08/01 13:44] – Wulf Rajek | ai:ollama-openwebui [2024/08/08 17:31] (current) – Wulf Rajek | ||
---|---|---|---|
Line 123: | Line 123: | ||
capabilities: | capabilities: | ||
</ | </ | ||
+ | |||
+ | https:// | ||
+ | |||
Under settings-> | Under settings-> | ||
Line 263: | Line 266: | ||
</ | </ | ||
- | docker install - WSL2 backend | + | Create the respective docker volumes folder: |
- | cmd line | + | < |
+ | # p/ | ||
+ | mkdir P: | ||
+ | </ | ||
+ | |||
+ | # docker install - choose the WSL2 backend | ||
+ | # cmd line | ||
< | < | ||
docker compose -f docker-openwebui.yml up -d | docker compose -f docker-openwebui.yml up -d | ||
Line 270: | Line 280: | ||
</ | </ | ||
- | mkdir | ||
- | p/ | ||
to update all ollama models on windows, use this powershell command - adjust for the hostname/ip ollama is running on: | to update all ollama models on windows, use this powershell command - adjust for the hostname/ip ollama is running on: | ||
Line 280: | Line 288: | ||
(Invoke-RestMethod http:// | (Invoke-RestMethod http:// | ||
</ | </ | ||
+ | |||
+ | |||
+ | ====== Curl OpenAI API test ====== | ||
+ | |||
+ | < | ||
+ | curl http:// | ||
+ | -H " | ||
+ | -d '{ | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ] | ||
+ | }' | ||
+ | {" | ||
+ | </ | ||
+ |
ai/ollama-openwebui.1722516295.txt.gz · Last modified: by Wulf Rajek