1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【ChatGPT無】Custom instructionsで、和→英→和するよ

Posted at

本記事は、ChatGPT(無料版)で
行なっております。GPT4での確認
はできておりません。あしからず。

 どうも、カーブミラーです。

 台風は、大丈夫ですか?
  今日明日は、心配ですね。
   こちら東京も
    天気が不安定に
     なってきました。

 外出は、
  控えましょうね。


 今回は、
  Custom instructionsが
   使えるようになりましたので、
    記事を書いていたのですが、
【ChatGPT無】にCustom instructionsが開放されました!
     いい使い道を
      思い付きました。

 以前に、
  Qiitaの質問から
   返答Promptを
    提示しよう
     としたことがありました。

 その際に、
  作成したPromptを
   記事として、
    アップしましたね。
【ChatGPT無】日本語Promptを英訳して実行して結果を和訳するPromptです
    もうひと月前の記事だわw

 和Prompt→
  英Prompt→
   実行→結果→
    日本語に翻訳

 というヤツです。

 これを
  Custom instructionsに
   ぶちかまそう、
    というわけです。

 意外と、
  あっさり、イケました。

 怖々、告白したら、
  あっさり、OKもらえた感じ。

 現実には、
  あっさり、
   玉砕ばかりですけどねぇ(泣)

 やっぱり、
  高嶺の花や高嶺の花男くんは
   高望みし過ぎかなぁ……

 うっ、いかん、落ち込む。

 話題をもとに戻すニャ!


 実際にやってみましょう。

 まずは、上段(事前情報)に

事前情報
・日本人

  特に
   情報が必要に
    感じなかったので、
     こんな感じにしました。

 次に、下段(出力要望)に

出力要望
# 目的
入力された文章を英訳して、Promptとして処理し、結果を和訳して、欲しいです。

# 処理手順
1.入力された文章を英訳して{{A}}に入れる。
2.{{A}}をPromptとして処理して、結果を{{B}}に入れる。
3.{{B}}を日本語に和訳して{{C}}に入れる。
4.最終的に、出力フォーマットに従って出力する。

# 出力フォーマット
Prompt: {{A}}
↓
実行結果: {{B}}
↓
日本語訳: {{C}}

 はい、ほぼそのままですw

 あっ、
  「入力されたプロンプト」
   から「入力された文章」に
    変更してますね。

 それから、
  ABCを変数化しました。


 最初は、
  分割して、
   入れていましたよ。

 処理手順と
  出力フォーマットで。

 でもなんか、
  最初だけ、
   うまく動いて、
    そのあと、
     おかしくなりました。

 それで、
  上記のように、
   してみたわけです。


 さぁ、実行サンプルです。

セッション
User
小説を書くためのスケジュールを教えてください。


ChatGPT
プロンプト: "Please provide me with a schedule for writing a novel."
↓
実行結果: Here's a suggested schedule for writing a novel:

- Week 1-2: Brainstorming and outlining the plot, characters, and setting.
- Week 3-4: Start drafting the first few chapters. Aim for consistency rather than perfection.
- Week 5-6: Continue writing and aim to complete at least half of the novel.
- Week 7-8: Review and revise the first half of the novel. Make necessary changes.
- Week 9-10: Resume writing and complete the remaining chapters.
- Week 11-12: Take a break from writing to gain perspective. Meanwhile, research and gather feedback.
- Week 13-14: Begin the editing process. Focus on grammar, style, and overall coherence.
- Week 15: Finalize the manuscript and prepare for submission or publishing.
↓
日本語訳: 小説を書くためのスケジュールの提案です:

- 1〜2週間目:プロット、キャラクター、舞台のアイデア出しとアウトライン作成
- 3〜4週間目:最初の数章の執筆開始。完璧を目指すよりも一貫性を重視
- 5〜6週間目:執筆を続け、少なくとも半分の部分を完成させる
- 7〜8週間目:小説の前半部分を見直し、修正を加える
- 9〜10週間目:執筆を再開し、残りの章を完成させる
- 11〜12週間目:一息ついて、遠い視点を得るための休憩。同時にリサーチとフィードバックを収集
- 13〜14週間目:編集プロセスを開始。文法、スタイル、全体的なつながりに注力
- 15週間目:原稿を仕上げ、提出や出版の準備をする



User
ソフトウェアエンジニアとして、必要なノウハウはなんですか?


ChatGPT
プロンプト: "What skills are necessary for a software engineer?"
↓
実行結果: The skills necessary for a software engineer include:

1. Programming Languages: Proficiency in languages like Java, Python, C++, or others depending on the domain.
2. Problem-Solving: Ability to analyze complex problems and devise effective solutions.
3. Data Structures and Algorithms: Understanding how to efficiently organize and manipulate data.
4. Software Development: Knowledge of the software development lifecycle, version control, and testing.
5. Web Development: Familiarity with front-end (HTML, CSS, JavaScript) and back-end (Node.js, databases) technologies.
6. Object-Oriented Design: Skill in designing modular and maintainable software using OOP principles.
7. Debugging: Ability to identify and fix issues in code.
8. System Design: Designing scalable and efficient software architectures.
9. Continuous Learning: Keeping up with new technologies and tools in the fast-changing field.
10. Communication: Effective communication for collaborating with team members and stakeholders.
↓
日本語訳: ソフトウェアエンジニアに必要なスキルは以下の通りです:

1. プログラミング言語: Java、Python、C++など、ドメインに応じた言語の熟達。
2. 問題解決: 複雑な問題の分析と効果的な解決策の考案能力。
3. データ構造とアルゴリズム: データを効率的に整理・操作する方法の理解。
4. ソフトウェア開発: ソフトウェア開発ライフサイクル、バージョン管理、テストの知識。
5. ウェブ開発: フロントエンド(HTML、CSS、JavaScript)とバックエンド(Node.js、データベース)の技術に関する知識。
6. オブジェクト指向設計: OOP原則を使ったモジュラーで保守可能なソフトウェアの設計スキル。
7. デバッグ: コード内の問題を特定し修正する能力。
8. システム設計: スケーラブルで効率的なソフトウェアアーキテクチャの設計。
9. 継続的学習: 素早く変化する分野の新技術やツールについて学び続けること。
10. コミュニケーション: チームメンバーや関係者との協力に向けた効果的なコミュニケーション能力。



User
英会話をしたいけれど、少しの英単語しか知りません。どうしたらいい?


ChatGPT
プロンプト: "I want to have English conversations, but I only know a few words. What should I do?"
↓
実行結果: If you want to improve your English conversation skills with a limited vocabulary, here are some steps you can take:

1. Start Small: Begin by practicing basic greetings and common phrases.
2. Learn High-Frequency Words: Focus on learning the most commonly used words in English first.
3. Vocabulary Expansion: Gradually add new words to your vocabulary each day. Use flashcards or language learning apps to help.
4. Simple Sentences: Practice forming simple sentences using the words you know. Try describing everyday activities.
5. Listen and Repeat: Listen to English audio, podcasts, or videos, and try to repeat what you hear.
6. Language Exchange: Find a language partner who wants to learn your language in exchange for helping you practice English.
7. Online Resources: Use language learning apps, websites, and online tutorials to improve your skills.
8. Join English Speaking Groups: Participate in online forums or local groups where you can engage in English conversations.
9. Be Patient: Learning a language takes time, so be patient with yourself and celebrate small victories.
↓
日本語訳: 限られた語彙しか知識がない場合でも、英会話スキルを向上させるために以下のステップを試してみてください:

1. 小さなスタート: 基本的な挨拶や共通フレーズの練習から始めましょう。
2. 高頻度の単語を学ぶ: まずは英語で最もよく使われる単語に焦点を当てて学びます。
3. 語彙の拡充: 毎日少しずつ新しい単語を増やしていきましょう。フラッシュカードや言語学習アプリを活用します。
4. 簡単な文を作成: 自分が知っている単語を使って、簡単な文を作成する練習をしてみてください。日常の活動を説明してみましょう。
5. 聞いて繰り返す: 英語のオーディオやポッドキャスト、動画を聞いて、聞いた内容を繰り返してみてください。
6. 言語交換: 自分の言語を学びたい人と言語交換パートナーを見つけ、英語の練習を行いましょう。
7. オンラインリソース: 言語学習アプリ、ウェブサイト、オンラインチュートリアルを活用してスキルを向上させます。
8. 英語の会話グループに参加: オンラインフォーラムや地元のグループに参加して、英会話を楽しんでみてください。
9. 忍耐強さ: 言語を学ぶには時間がかかるため、自分に対して忍耐強く、小さな成果を喜びましょう。

 うん、うまくいきましたね。

 途中のおかしくなったのは、
  Custom instructionsの
   使い方が、悪かっただけ。

 でも、
  それに対して、
   修正方法を
    教えて欲しい
     ところですね。

 今後の使い道を
  考えておこうと思います。

 何かに役立つような
  気がしますので。

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?