Код: Выделить всё
curl https://api.groq.com/openai/v1/chat/completions -s \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $GROQ_API_KEY" \
-d '{
"model": "llama3-8b-8192",
"messages": [{
"role": "user",
"content": "Explain the importance of fast language models"
}]
}'
Подробнее здесь: https://stackoverflow.com/questions/792 ... oid-studio