Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
469 B
11
Indexable
Never
curl --location --request POST 'https://api.openai.com/v1/chat/completions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer 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' \
--data-raw '{
     "model": "gpt-4",
     "messages": [
        {"role": "user", "content": "Adrian is the Android developer."},
        {"role": "user", "content": "Who is the Android developer? If you dont have this information, please write Test."}
    ]
}'