sailormoon adlı üyeden alıntı: mesajı görüntüle
Bedava tonlarca yapay zeka aracı var hocam. Ben bedava kullanacak olsam yine Gpt3.5 kullanırım. Hatta 4o mini ücretsiz şu an.
Api key testinde OpenAI ile aynı API formatını paylaşıyor

source API_Key.txt
message="$@"
echo ""
curl -s "https://api.groq.com/openai/v1/chat/completions" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer ${API_Key}" \
  -d '{
         "messages": [
           {
             "role": "user",
             "content": "'"$message"'\n"
           }
         ],
         "model": "llama3-8b-8192",
         "temperature": 1,
         "max_tokens": 1024,
         "top_p": 1,
         "stream": false,
         "stop": null
       }' |\
jq -r '.choices[0].message.content'