User Tools

Site Tools


informatica:inteligencia_artificial:agentes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
informatica:inteligencia_artificial:agentes [2025/12/05 07:59] joseinformatica:inteligencia_artificial:agentes [2026/05/16 23:25] (current) jose
Line 91: Line 91:
   pip install ollama   pip install ollama
  
 +====== LITELLM ======
 +LiteLLM te puede hacer de proxy a otros modelos
  
 +Arrancamos litellm con el comando:
 +  litellm --model ollama/llama3.2:1b --port 6969
 +Pero hace de proxy y podemos hacer llamadas al modelo gpt-4o con este curl:
 +  curl --silent http://127.0.0.1:6969/v1/chat/completions   -H "Content-Type: application/json"   -d ' "model": "gpt-4o", "messages": [  { "role": "user", "content": "Cual es la capital de España?" }     ] }'
  
  
informatica/inteligencia_artificial/agentes.txt · Last modified: by jose