「.NET 開発基盤部会 Wiki」は、「Open棟梁Project」,「OSSコンソーシアム .NET開発基盤部会」によって運営されています。
大規模言語モデルを利用できる(Web)APIサービス
ログインして、Billing から課金して、WebAPIキーを取得&設定するだけで良い。
curl https://api.openai.com/v1/responses \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
"model": "gpt-4.1",
"input": "Tell me a three sentence bedtime story about a unicorn."
}'
from openai import OpenAI client = OpenAI() response = client.responses.create( model="gpt-4.1", input="Tell me a three sentence bedtime story about a unicorn." ) print(response)