Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

This article is a Private article. Only a writer and users who know the URL can access it.
Please change open range to public in publish setting if you want to share this article with other users.

AWS Certified AI Practitioner(AIF)対策:プロンプト手法(CoT・ネガティブ・マルチモーダル)

Last updated at Posted at 2024-11-26

思考連鎖プロンプティング(CoT)

『複雑な推論タスクを途中段階に分割する』

ことで、モデルが正確な出力を生成するのに有効です。

よく使われるのは

「ステップバイステップで回答してください」

というプロンプトです。

ネガティブプロンプト

『出力してほしくない情報を指定し、モデルが不要なコンテンツを生成しないように指示する手法』

ネガティブプロンプトを入力しておくことで情報を絞ることができます。

「〇〇について教えて、 GCPやAzureを除いて 、AWSに関するものでよいです」

と指定することで、AWSに関する情報のみが生成されるように指示できます。

マルチモーダルプロンプト

『テキスト、画像、音声など、異なる種類のデータを1つのプロンプトとして扱い、生成AIモデルに入力する方法』

これは、単一モーダル(例えば、テキストのみ)のプロンプトでは扱いきれない複雑な問題に対応し、より高度なAIモデルを構築する基盤を提供します。

0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?