User Tools

Site Tools


informatica:inteligencia_artificial:openai

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:openai [2023/03/02 22:58] joseinformatica:inteligencia_artificial:openai [2023/03/02 23:03] (current) jose
Line 385: Line 385:
 </code> </code>
  
 +Con curl:
 +  curl https://api.openai.com/v1/chat/completions -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" -d '{ "model": "gpt-3.5-turbo",  "messages": [{"role": "user", "content": "Inventate una historia de un asesinato en Carabanchel"}] }' 
 + 
  
informatica/inteligencia_artificial/openai.1677797892.txt.gz · Last modified: 2023/03/02 22:58 by jose