xryumonの日記

近場、遠方含め旅先の思い出や、最近取り組んでいることを綴ります。

ChatGPTと一緒に物語を作る

英語学習がてら、ChatGPTは何がどこまで出来るのかいろいろ試しています。今回紹介するのは、「ChatGPTと物語を作る」です。

まずは出だしの英文を。認識してもらうために添削をお願いする体で始めています:

次の文章を添削して下さい。
The sound of waves brought me back to consciousness. Looks like I'm on the beach somewhere. Judging from the situation, I seem to have been washed ashore. However, I can't remember how this happened. Furthermore, l can't even remember my name.

どこかに漂流した主人公。居場所がわからないどころか記憶も喪失しています。っていう出だしです。

これに対してChatGPTからのリプライ:

Here's a possible revision:

The sound of the waves brought me back to consciousness. It seemed like I was on a beach somewhere. Judging from the situation, it appeared that I had been washed ashore. However, I couldn't recall how this had happened. Moreover, I couldn't even remember my own name.

はい、いい感じに添削いただきました。

凄いのはここから。

続きを書いてみて下さい。

鬼の無茶振り!さすがに困るかな、と思ったのですが、想像を遥かに超える結果が返って来ました:

Sure, here's a possible continuation:

I sat up and looked around, trying to make sense of my surroundings. The beach stretched out before me, with its powdery white sand and crystal-clear water. There were a few palm trees swaying gently in the breeze, and the sun was shining bright in the clear blue sky. It was a breathtaking sight, but it didn't help me figure out where I was or how I got here.

I searched my pockets for any clues but found nothing except a few seashells and a piece of paper with some illegible scribbles. I rubbed my temples, trying to recall anything about myself or my past, but my mind was blank.

Panic started to set in, and I began to feel a sense of unease. Who was I? Where did I come from? And most importantly, how was I going to get out of here?

I took a deep breath and tried to calm myself down. I knew that I had to stay focused and find a way to survive. I got up and started to walk along the beach, hoping to find some help or a way out. I didn't know what the future held, but one thing was for sure: I had to keep moving forward.

圧巻です!中々書きやまないので暴走したか?と思ってしまいました。

一旦整理するために以下を入力します:

In that situation, what are you able to see around you?

思わず"You"で書いてしまったのですが、そこは大人の対応のChatGPT。

Based on the original text, the protagonist is on a beach and can see the following:

The protagonist can hear the sound of waves crashing, which implies that they are near the ocean.
The protagonist can see the beach they are on, which has white sand and clear water.
There are a few palm trees swaying gently in the breeze, which suggests that the weather is mild.
The sun is shining bright in the clear blue sky, indicating that it is daytime.
It is unclear if there are any other people or structures around, as the text does not mention any.

と、さりげなく"Protagonist"に置き換えて主人公の状況説明をしてくれました。足りない情報もしっかり添えてくれます。

それならば、と私:

Let me set the situation around the protagonist: The north and the west are facing the sea. The land continues in the east. You can see a forest in the south.

東西南北のシチュエーションを追加しました。これに対しChatGPT:

Thank you for setting the scene! With this additional information, the protagonist is on a beach that faces north and west towards the sea. The land continues to the east, which means that the protagonist can walk in that direction if they want to leave the beach. To the south of the beach, there is a forest that the protagonist can see.

This additional information adds some context to the situation and gives the protagonist more options for exploration. They can choose to head towards the forest or walk along the beach towards the east, depending on their goals and priorities.

と、次の探索先のガイドまでしてくれてヤル気満々のようです。

 

といったぐあいで、かなり楽しめています。使い道がいろいろ広がりますね。