Skip to main content

Posts

Showing posts with the label PromptEngineering

Claude AI プロンプトエンジニアリング: 核心概念と実践方法

  Claude AI プロンプトエンジニアリング: 核心概念と実践方法 生成AIのためのプロンプトエンジニアリングは、生成AIとの効果的なインタラクションを通じて望ましい結果を得るためのプロセスです。 良いプロンプトエンジニアになるためには、次のような能力が必要です: 1.明確なコミュニケーション能力 。 例文: クロード、私は今、1つのブログポストを作成しているんだ。 テーマは「日常で簡単に実践できる環境保護の方法」だ。 ポストの構成は、序論-本論-結論で構成され、総文字数は1500文字前後で、読者に親しみやすくなるように、文体は堅苦しくなく、柔らかい感じに書いてくれ」。 プロンプトで記事のテーマ、構造、分量、文体などを具体的に明示することで、生成型AIが希望する方向に記事を生成できるよう、明確なガイドラインを提供しています。 2.反復作業をコツコツと行う意欲 。 例示: 最初のプロンプト - "クロード、私のために'春のピクニック'をテーマにした詩を書いてくれる?" 2番目のプロンプト - "詩の雰囲気をもっと軽快に変えて、青系で締めてくれる?" 3番目のプロンプト - "詩の3~4行目に、春のピクニックに行くときに聴きやすい音楽を推薦する内容を追加してくれる?" 同じテーマの詩を対象に、プロンプトを少しずつ修正しながら、生成型AIと繰り返しインタラクションすることで、ユーザーが望む方向に詩を完成させていきます。 3.プロンプトが間違っている可能性がある場合を考慮する能力 。 例: 「クロード、これから架空のインタビュー記事を書いてみよう。 架空の人物Aは「理想の職場の上司」に選ばれたんだ。 Aさんをインタビューしていると思って、Aさんが理想的な上司に選ばれた理由を5つくらいあげて記事を書いてくれ。 ただし、もし私が「男性」または「女性」と言わなかったら性別を言わないで、もしAさんの業種を言わなかったら、具体的な業種を書かないで自然に記事を書いてくれ。 プロンプトで曖昧になる可能性のある部分(性別、業種など)への配慮を事前に言及することで、プロンプトが意図しない方向に解釈される可能性を事前に遮断しています。 4.正直さ、ペルソナ、比喩の使用 。 例文: "クロード、私は今、大...

[How to use GPT-4/BingChat for Drug Discovery or Other Research Development White Paper (w/ Prompt Engineering)]

Backgrounds The motivation to write this white paper was inspired by an article in  Hankyoreh on July 5 ( Generative AI designs new drug in 46 days...enters phase 2 for the first time ever [1] )  which I read as a non-expert in the field of drug development. To summarize the content of the article, it is as follows. A drug candidate designed using artificial intelligence (AI) by biotech company Insilico Medicine has entered Phase II clinical trials. The drug, a treatment for idiopathic pulmonary fibrosis, will be administered to 60 patients in China and the United States. Insilico developed the drug using a combination of generative AI and reinforcement learning, which cut drug development costs by a tenth and time by a third. The company currently has more than 30 AI drug development programs underway, three of which have entered clinical trials. This entry into Phase II clinical trials is considered a major milestone in the field of drug development using AI. Based on this a...