← ライブラリに戻る
AllIntermediateCoding

構造化出力JSONスキーマプロンプター

JSONなど特定スキーマ形式での出力を強制し、後続パイプラインとの連携を確実にします

❤️ 812 likes

📋 プロンプト全文

[タスク]の結果を以下のJSONスキーマに厳密に従って出力してください。純粋なJSONのみ返し、余分なテキストやMarkdownは含めないこと。[スキーマ]。スキーマに一致しない場合は再試行してください。すべての文字列フィールドはnull以外の値であること。

💬 入力例

タスク:商品レビューを分析してセンチメント・キーワード・スコアを抽出する

✨ 出力例

{"sentiment": "positive", "keywords": ["配送が速い", "品質が良い"], "score": 4.5, "summary": "全体的に満足"}

🏷️ タグ

#JSON#構造化出力#パイプライン

💡 使用のヒント

  • Replace the variables in brackets ([]) with your specific situation.
  • Specify the desired tone and length of writing for more accurate results.
  • Request additional modifications based on the generated output to improve quality.
  • Specifying a particular audience allows AI to adjust vocabulary and explanation level.

🔗 関連プロンプト

Effective Writing Strategies with AI

AI writing prompts let you efficiently produce blog posts, business emails, press releases, novels, and more. The key is to assign AI a precise role, and clearly specify the desired tone, length, and target audience. For example, requesting "write a 2000-word SEO-optimized blog post in a professional tone" yields significantly higher-quality output. After generating a draft, iterative feedback helps elevate the final quality step by step.

This prompt belongs to the Coding category, optimized for All at a Intermediate level. It is systematically designed applying core prompt engineering principles: role assignment, context setting, and constraints.

Explore More Prompts

Discover 90+ verified prompts in the PromptGenie library.

Browse Library