Retrieve Music Text Company Status Code
POST {{openAIUrl}}/chat/completions
Creates a completion for the provided prompt and parameters.
Request Body
{"model"=>"gpt-4o", "messages"=>[{"role"=>"user", "content"=>[{"type"=>"text", "text"=>"Imagine somebody called an API from company {{company}} and got HTTP status {{statusCode}} back. Please write an explanation as a short song text what this HTTP status code means and how to typically fix it with the help of the Postman API platform. If the status code is authentication related, also mention the mart authentication helpers from Postman and the ability to find related, already working requests in Postman. The song text should also refer to company {{company}} in a humorous way that is typical for the style of that company. The song should have two verses and one bridge. Write [Bridge] in front of the bridge's text and [Verse 2] in front of the second verse. Start your output right away with the song. Do not repeat [Verse] twice at the beginning. The song's musical genre is {{musicStyle}} and the text of the song should be in {{language}}"}]}], "temperature"=>0.2, "n"=>1, "stream"=>false, "max_tokens"=>500, "presence_penalty"=>0, "frequency_penalty"=>0}
RESPONSES
status: OK
{"id":"chatcmpl-9SuTEjz46JowhbywJwp1zKXtPT9No","object":"chat.completion","created":1716677284,"model":"gpt-4o-2024-05-13","choices":[{"index":0,"message":{"role":"assistant","content":"Adidas on my feet, I'm feelin' so elite, \nFrom the streets to the gym, can't be beat, \nThree stripes, no hype, just pure might, \nIn my gear, I'm ready, day or night.\n\n[Verse 2] \nBoost in my step, I'm flyin' so high, \nPerformance and style, reachin' for the sky, \nFrom the track to the court, I'm always on point, \nAdidas got me covered, every joint.\n\n[Bridge] \nInnovation in the threads, comfort in the soles, \nAdidas keeps me movin', achievin' all my goals, \nFrom classics to the new, they always come through, \nIn my Adidas gear, there's nothin' I can't do."},"logprobs":null,"finish_reason":"stop"}],"usage":{"prompt_tokens":94,"completion_tokens":156,"total_tokens":250},"system_fingerprint":"fp_43dfabdef1"}