nueva guia IA
This commit is contained in:
+84
@@ -0,0 +1,84 @@
|
|||||||
|
***GUIA IA***
|
||||||
|
|
||||||
|
**OLLAMA**
|
||||||
|
|
||||||
|
**instalaciónr**
|
||||||
|
macos
|
||||||
|
```bash
|
||||||
|
curl -fsSL https://ollama.com/install.sh | sh
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
brew install ollama
|
||||||
|
```
|
||||||
|
|
||||||
|
linux
|
||||||
|
```bash
|
||||||
|
curl -fsSL https://ollama.com/install.sh | sh
|
||||||
|
```
|
||||||
|
|
||||||
|
windows
|
||||||
|
|
||||||
|
```bash
|
||||||
|
irm https://ollama.com/install.ps1 | iex
|
||||||
|
```
|
||||||
|
|
||||||
|
**Instalar modelos**
|
||||||
|
```bash
|
||||||
|
ollama pull qwen3:8b
|
||||||
|
```
|
||||||
|
|
||||||
|
Ejecutar modelos (si no estan los instala la primera vez)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ollama run llama3.2
|
||||||
|
ollama run qwen3
|
||||||
|
ollama run gemma3
|
||||||
|
ollama run mistral
|
||||||
|
```
|
||||||
|
|
||||||
|
Ver modelos instalados
|
||||||
|
|
||||||
|
`ollama list`
|
||||||
|
|
||||||
|
usar un modelo en terminal
|
||||||
|
`ollama run llama3.2`
|
||||||
|
|
||||||
|
salir
|
||||||
|
`/bye`
|
||||||
|
|
||||||
|
**interfaz GUI**
|
||||||
|
Ollama para macos
|
||||||
|
|
||||||
|
Open WebUI
|
||||||
|
Docker para open webUI
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker run -d \
|
||||||
|
-p 3000:8080 \
|
||||||
|
--add-host=host.docker.internal:host-gateway \
|
||||||
|
-v open-webui:/app/backend/data \
|
||||||
|
--name open-webui \
|
||||||
|
ghcr.io/open-webui/open-webui:main
|
||||||
|
```
|
||||||
|
|
||||||
|
docker compose
|
||||||
|
```bash
|
||||||
|
services:
|
||||||
|
open-webui:
|
||||||
|
image: ghcr.io/open-webui/open-webui:main
|
||||||
|
container_name: open-webui
|
||||||
|
ports:
|
||||||
|
- "3000:8080"
|
||||||
|
extra_hosts:
|
||||||
|
- "host.docker.internal:host-gateway"
|
||||||
|
environment:
|
||||||
|
- OLLAMA_BASE_URL=http://host.docker.internal:11434
|
||||||
|
volumes:
|
||||||
|
- open-webui:/app/backend/data
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
open-webui:
|
||||||
|
```
|
||||||
|
|
||||||
Reference in New Issue
Block a user