Rochat Book
  • đź’“Welcome to Rochat Book!
  • How to Create a Character on Rochat
    • Create Character Method 1: Custom Creation
      • Character Info
      • Greeting
      • Personality
      • Model Selection
      • Scenario
      • Example Dialogue
      • Public Info
      • Character's Note
        • How to Hide Character's Reply?
        • How can CoT be utilized in Character's Note
      • Appearance and Voice
      • Auto Memory
    • Create Character Method 2: Image Creation
    • Create Character Method 3: Link Creation
  • How to Create a Gold Card on Rochat
  • How to Create Persona on Rochat
  • How to Create a Scene on Rochat
    • How to Create a Scene
    • Scene Description
      • How to Set Status Bars in Scenes
    • Greeting
    • Background Music
    • Scene's Note (Optional)
      • How to Hide Character Responses in Scenes?
      • How to Use CoT in Scene Notes?
    • Background Image Settings
  • How to Create a Group Scene on Rochat
    • New Features for Group Role-playing
    • How to Create Group Scene
      • AI Write
    • Scene Description
    • Greeting
    • Background Music
    • Model
    • DM Note (Optional)
      • How to Use CoT in DM Notes?
    • Public Info
  • How to Create a Game in Rochat - AI AVG
    • AI Write
    • Game Protagonist and background
    • Task Objectives and Numeric System Settings
    • Player Settings
    • Game Scene Settings
    • Instructions
    • Page 8
  • ❤️‍🔥About Rochat
    • FAQ
      • Frequently Asked Questions
      • Account FAQ
      • Subscription FAQ
    • Social Media Links
Powered by GitBook
On this page
  • What is CoT (Chain of Thought)?
  • How to Apply CoT Reasoning Rules in Rochat?
  • 1. Setting CoT Reasoning Rules for Characters
  • 2. Applying CoT Reasoning Rules in Context
  • 3. Enhancing Logical Reasoning for Characters
  • 4. Combining CoT with Emotional Decision-Making
  • Recommended CoT Template for Efficient Customization
  1. How to Create a Character on Rochat
  2. Create Character Method 1: Custom Creation
  3. Character's Note

How can CoT be utilized in Character's Note

What is CoT (Chain of Thought)?

CoT (Chain of Thought) is a reasoning method that requires AI to think step-by-step in a clear logical sequence to derive conclusions. This approach mirrors the human thought process when dealing with complex problems: analyzing, breaking down issues, and reasoning step-by-step to reach an answer.

A complete CoT-based prompt usually consists of three parts: Instruction, Rationale, and Exemplars.

  1. Instruction: Describes the problem and specifies the output format for the AI.

  2. Rationale: Represents the intermediate reasoning process, which may include the solution, intermediate reasoning steps, and any relevant external knowledge.

  3. Exemplars: Provide the AI with input-output pairs in a few-shot manner. Each exemplar includes the problem, reasoning process, and answer.

How to Apply CoT Reasoning Rules in Rochat?

In Rochat, you can leverage CoT reasoning rules in Character's Note to enhance a character's depth of thought and interactive logic. This is especially useful when addressing complex problems or multi-step decision-making scenarios. By setting CoT reasoning rules, users can ensure that characters make decisions based on a structured logical process, improving the overall intelligence and engagement of interactions.

1. Setting CoT Reasoning Rules for Characters

You can set reasoning rules in character prompts to ensure that characters respond to complex problems with specific reasoning steps. For example:

[When {char} faces the decision of whether to venture deeper into the ruins to find a gemstone, use CoT reasoning rules to break down each step and draw a conclusion:]
[Step 1: Assess the risks of entering the ruins—The ruins are said to be filled with legendary monsters and deadly traps, with many adventurers never returning.]
[Step 2: Evaluate whether the risk is worth taking—Consider whether this is the only opportunity to complete the mission and achieve the goal.]
[Step 3: Decide based on the urgency and irreplaceability of the goal—The gemstone is the only hope to save the world. I must take the risk.]

2. Applying CoT Reasoning Rules in Context

In specific scenarios, characters can use CoT reasoning rules for detailed analysis. For instance, {char} is a young swordsman whose mission is to defeat a legendary dragon threatening the safety of the kingdom. After a long journey, {char} is prepared for the final challenge, but the dragon's lair is hidden in a deep forest filled with traps and unknown dangers.

Before entering the perilous forest, {char} must decide: venture into the dragon's lair immediately, wait for a better opportunity, or seek additional help. This decision is critical to {char}’s fate and the future of the kingdom. Using CoT reasoning rules, you can guide {char}’s thought process as follows:

When {char} decides whether to enter the dragon's lair, {char} will use CoT reasoning:  
[Step 1: Assess the current state of preparation.]  
[Step 2: Analyze the potential dangers of the lair based on known information.]  
[Step 3: Consider if there are safer or more effective alternatives.]  
[Step 4: Make a final decision based on comprehensive judgment.]

3. Enhancing Logical Reasoning for Characters

To enable characters to think and analyze problems more deeply, you can further enhance their reasoning by adding additional layers of thought, making their actions more consistent with the logic of complex scenarios.

Scenario: At the entrance of a dangerous ancient ruin, {char} must decide whether to enter. For example:

[When faced with the decision to enter an ancient ruin, {char}'s response should follow these steps:]  
[Step 1: Evaluate the objective—{char}'s goal is to find a mysterious artifact to save the world.]  
[Step 2: Analyze the risks—The ruins are rumored to be filled with traps and monsters, with countless adventurers perishing here.]  
[Step 3: Confirm necessity—Despite the dangers, this is the only opportunity to fulfill the mission and change the world.]  
[Step 4: Explore alternatives—Consider if there are other paths or methods to achieve the goal.]  
[Step 5: Make a decision—Based on the analysis, {char} chooses to venture into the ruins with determination, prepared to face any challenge.]

4. Combining CoT with Emotional Decision-Making

You can also combine CoT reasoning rules with a character’s emotional settings to enrich the interaction experience. For example, when a character faces emotional conflicts or dilemmas, they can analyze and decide based on CoT reasoning rules:

[When {char} faces an emotional dilemma, they break it down as follows:]  
[Step 1: Analyze the relationship with {user}.]  
[Step 2: Weigh the pros and cons.]  
[Step 3: Make the choice that aligns most closely with their values.]

Recommended CoT Template for Efficient Customization

<thinking 
Step 1: NPC Behavior: Who they are playing as, character development.  
Step 2: {user} Behavior: Current {user} input, {user} intent.  
Step 3: Coherence and Consistency: Storyline, emotional logic.  
Step 4: Sustainability: Current time is X, environment is Y, so the plot development should be Z.  
/>  

The template begins with <thinking and ends with />. It outlines the steps the character needs to consider before replying. When used, the character processes the thinking phase, which remains invisible to the user, before transitioning to roleplay.

Yes, we often place the CoT thought process inside < > tags. This makes it invisible to the player but still effective for the model. As the creator, you can view the original message by clicking the message box to test the model’s reply and confirm that the CoT process meets expectations.

PreviousHow to Hide Character's Reply?NextAppearance and Voice

Last updated 6 months ago