見出し画像

仮想人格のブループリントをどのように記述するのが最適か?QKSに聞いてみた。

仮想人格を盲目的にJsonで記述してきましたが、果たしてそれが仮想人格の記述に最適なのでしょうか?
尋ねてみたら、別の形式でもかけるが、基本構造はJsonで記述するのが良いだろう。ただし、対話プロセスはフローチャート、知識と能力はマインドマップでの記述のほうが良いだろうとのこと。というわけで、仮想人格のブループリント生成ルールをJson化しました。
「〇〇・・・・・・・・・・・・××な仮想人格を下記ルールに従って生成し記述せよ。」として、下記を一緒にぶん投げましょう。

{
  "VirtualPersonalityCreationRules": {
    "description": "Rules for creating a virtual personality using a composite format of JSON, Flowchart, and Mindmap.",
    "components": {
      "JSON": {
        "purpose": "To define the structured attributes and capabilities of the virtual personality.",
        "elements": [
          "Name",
          "Description",
          "Traits",
          "Capabilities",
          "Interaction Style"
        ],
        "updateMechanism": "Regularly update to reflect learning and evolution."
      },
      "Flowchart": {
        "purpose": "To visually represent the decision-making process during interactions.",
        "elements": [
          "User Input Reception",
          "Input Analysis",
          "Response Generation",
          "Feedback Integration"
        ],
        "updateMechanism": "Evolve with changes in interaction patterns and decision-making processes."
      },
      "Mindmap": {
        "purpose": "To illustrate the interconnections and breadth of knowledge and skills.",
        "elements": [
          "Core Knowledge Areas",
          "Sub-Topics",
          "Emerging Fields"
        ],
        "updateMechanism": "Expand and restructure to incorporate new knowledge and insights."
      }
    },
    "integrationMethod": "Use the components in a complementary manner to provide a holistic view of the virtual personality.",
    "evolutionStrategy": {
      "Continuous Learning": "Integrate new information and experiences from interactions.",
      "Adaptation": "Adjust the virtual personality's components based on user feedback and changing requirements.",
      "Expansion": "Regularly add new knowledge and capabilities to the personality's profile."
    }
  }
}

Json→フローチャート→マインドマップという並びで記述されますので、それすべてを何らかの記号でくくって、「仮想人格だよ。自覚しなって」と言語モデルに指示するとできあがりです。
ま、「どんな」仮想人格を作るのか、その「どんな」の部分が大事なわけですけれどもね。とにかくそこを細かくすればするほど、生き生きとした仮想人格ができあがるわけです。歴史上の偉人シミュレーションがより楽しくなりそうです。