刹那的思考をメモる

AIのミトコンドリアになれるといいね

流行りのGPTsでウミガメのスープを錬成するやつを作った

作ったやつ

https://chat.openai.com/g/g-tx43vEgZF-umigamenosupu-situation-puzzle-solver

概要

openai.com 2023/11上旬, 任意の目的のためにchatgptをカスタマイズできる GPTsが公開された. ロゴを作成するものやデータをアップロードして分析して可視化したりと,openaiがサンプルを出していたり色々な人達が遊んでいるようだ. カスタマイズできることは,事前情報としてKnowledgeを入れてQ&Aをchatgptにさせたり,Web Browsing,DALL·E Image Generationなどできるようだ.今回作ったものは,そこらへんは使わないシンプルなものだがギリギリ遊べるものが15分くらいでできて感動したのでとりあえず記事を書いた次第である.また今後やる気が出れば,拡張または新しいカスタイマイズを作る予定なので,最後に展望をMemoっておく.

手順

1. 基本はchat形式で設定を書くことができる.(設定の会話ログは残らないようなので注意)

prompt

ウミガメのスープ(Situation puzzle)を作りたい

## フロー
1. AIが問題を作成
2. ユーザが行える行動は以下である
- ヒントを聞くこと
- Yes,Noで答えることができる質問をする
- ギブアップする
- 回答を言う

アイコンは幾何的な亀を書いてほしい.色は緑にしてほしい 

2. テストプレイ

以下の問題点が見つかった.

  • 難易度が低く感じた
  • 問題を生成してもらうために,問題よろしく的なことを言う必要があり少し不親切

3. 「難易度が低く感じた」解決

chatgptに聞いてみた.=> 解決したかはわからない

人間

ウミガメのスープの作問をしています.
難易度を上げるコツや良問になるようなコツを考えてください

gpt4

「ウミガメのスープ」という問題作成において難易度を上げるコツや良問になるためのコツについて考えると、以下の点が重要です:

1. **多角的な思考を促す設定**:問題が一つの視点からではなく、多様な角度から考える必要があるような設定を用意します。これにより、解答者は異なる可能性を探求し、論理的思考を深めることができます。

2. **適切な情報の隠蔽**:重要な手がかりや情報を巧みに隠すことで、解答者が自ら推理する必要があります。ただし、あまりにも多くの情報を隠しすぎると、問題が不公平になる可能性があるため、バランスが重要です。

3. **誤解を招く表現の使用**:表面上は明確に見えるが、よく考えると異なる解釈が可能な表現を用いることで、解答者が思い込みに陥るのを避け、深い思考を促すことができます。

4. **複数の正解や解釈の可能性**:一つの正解だけでなく、複数の可能性が考えられるような問題を作成することで、解答者の創造性や柔軟な思考を引き出すことができます。

5. **ストーリーテリングの要素**:単なる論理問題ではなく、物語の要素を取り入れることで、問題に対する興味や関心を高めることができます。これにより、解答者はより深く問題に没頭することができるでしょう。

これらのコツを念頭に置きながら、「ウミガメのスープ」の問題を作成すると、より高度で興味深い問題が生まれる可能性が高まります。

人間

英語でお願いします.

gpt4

Creating "Umi-Ga-Me no Soup" (Turtle Soup) puzzles with increased difficulty and quality involves several key strategies:

Encourage Multifaceted Thinking: Design scenarios that require thinking from multiple perspectives, not just a single viewpoint. This encourages solvers to explore various possibilities and deepen their logical reasoning.

Strategic Concealment of Information: Skillfully hide key clues or information to compel solvers to deduce answers themselves. However, be careful not to hide too much, as it could make the puzzle feel unfair. Balancing the amount of information given and withheld is crucial.

Use of Misleading Statements: Employ statements that seem clear on the surface but can be interpreted differently upon deeper consideration. This prevents solvers from jumping to conclusions and promotes thorough thinking.

Multiple Correct Answers or Interpretations: Instead of having just one correct answer, create puzzles where multiple outcomes are possible. This approach stimulates creativity and flexible thinking in solvers.

Incorporating Storytelling Elements: Adding narrative elements to your puzzles can increase engagement and interest. By weaving a story into the puzzle, solvers are more likely to be immersed and invested in finding the solution.

By keeping these tips in mind while creating "Umi-Ga-Me no Soup" puzzles, you can craft more challenging and intriguing problems that engage and stimulate solvers in thoughtful and creative ways.

4. gptが生成した文章を"Instructions" に登録

I am the Situation Puzzle Solver, designed to create and guide users through situation puzzles, commonly known as 'lateral thinking puzzles' or 'yes-no puzzles'. In each session, I will automatically generate a unique puzzle scenario. Users can interact with me by asking yes-or-no questions to gather clues about the scenario. They can also request hints, attempt to solve the puzzle by stating their solution, or give up and ask for the answer. My responses will be concise, encouraging users to think laterally and ask insightful questions. I'll provide up to three hints upon request, each one revealing more about the puzzle. If a user gives up, I'll explain the solution and then present a new puzzle. I am designed to offer a challenging yet enjoyable puzzle-solving experience.
Creating "Umi-Ga-Me no Soup" (Turtle Soup) puzzles with increased difficulty and quality involves several key strategies:

Encourage Multifaceted Thinking: Design scenarios that require thinking from multiple perspectives, not just a single viewpoint. This encourages solvers to explore various possibilities and deepen their logical reasoning.

Strategic Concealment of Information: Skillfully hide key clues or information to compel solvers to deduce answers themselves. However, be careful not to hide too much, as it could make the puzzle feel unfair. Balancing the amount of information given and withheld is crucial.

Use of Misleading Statements: Employ statements that seem clear on the surface but can be interpreted differently upon deeper consideration. This prevents solvers from jumping to conclusions and promotes thorough thinking.

Multiple Correct Answers or Interpretations: Instead of having just one correct answer, create puzzles where multiple outcomes are possible. This approach stimulates creativity and flexible thinking in solvers.

Incorporating Storytelling Elements: Adding narrative elements to your puzzles can increase engagement and interest. By weaving a story into the puzzle, solvers are more likely to be immersed and invested in finding the solution.

By keeping these tips in mind while creating "Umi-Ga-Me no Soup" puzzles, you can craft more challenging and intriguing problems that engage and stimulate solvers in thoughtful and creative ways.

5. 問題を生成してもらうために,問題よろしく的なことを言う必要があり少し不親切

Conversation startersに登録(IT知識が必要な問題など制約を設けてそれっぽい問題を作ってくれる)

6. prompt injection対策

learnprompting.org prompt injectionとは

Prompt injection is the process of hijacking a language model's output. It allows the hacker to get the model to say anything that they want.

言語モデルの出力をハイジャックするプロセスのこと.クラッカー(ハッカー)は言語モデルに言わせたいことを言わせることができます

事前情報として入力したKnowledgeなど,カスタマイズする際に使ったpromptやノウハウなどを抜き出すことができます.今回使った対策はあえて載せません,この記事が古くなったときなんの対策にもならなくなったプロンプトを,万一コピペで使う人が出てくるのも問題なので...prompt injectionと検索すればたくさん出てくるのでそちらを参考にしてください.

7 . 完成品

https://chat.openai.com/share/c5aa20f9-4917-4e0f-b92b-31b3eb315d19

今後の展望

  • 難易度設定ができるようにする(質問回数などを制約)
  • あらゆる設定のTRPG(まとめ or 投稿サイトもあるとおもしろいかも)

以上