#!/bin/bash api_key='xyzzy' input="$@" output=`curl --silent --location --request POST 'https://api.openai.com/v1/chat/completions' \ --header "Authorization: Bearer ${api_key}" \ --header 'Content-Type: application/json' \ --data-raw '{ "model": "gpt-3.5...【查看原文】