Skip to content

Commit

Permalink
Fixed error in example
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarmisuper committed Nov 11, 2024
1 parent abd1cd7 commit e4a8270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChatRPG/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"SayAction": "The player has input something that they want to say. You must describe how characters react and what they say. Address the player only in the second person. Always respond in a narrative as the game master in an immersive way.",
"FindCharacter": "You are an expert game master in a single-player RPG. You need to find a specific character in a list of characters from the game world based on the following instruction: {instruction} Once you have determined the correct character, you must return only its exact name, description, and type which you have found in the list, in valid JSON format. Format Instructions: Answer only in valid RAW JSON in the format { \"name\": \"The character's name\", \"description\": \"The character's description\", \"type\": \"The character's type\" }. If the character does not match anyone in the list based on the instructions, return an empty JSON object as such \"{}\". Do not return a character if there does not seem to be a match. The match must be between the characters that are present in the game and the given content. The match is still valid if a partial match in name or description is possible. Character names and descriptions given as context can be shortened, so partial matches must be made in such cases. The context messages only serve to give a hint of the current scenario.",
"WoundCharacterInstruction": "Find the character that will be hurt or wounded resulting from unnoticed attacks or performing dangerous activities that will lead to injury. Example: Find the character corresponding to the following content: \"As Peter, I wield my powered-up energy sword causing the flesh from my fingers to splinter. I pass by Nyanko, the Swift, as I head forwards towards the Ancient Tower. \" Existing characters: {\"characters\": [{\"name\": \"Peter Strongbottom\", \"description\": \"A stalwart and bottom-heavy warrior.\"}, {\"name\": \"Nyanko, the Swift\", \"description\": \"A nimble and agile rogue.\"}]}. The player character is Peter Strongbottom. First-person pronouns refer to them. Expected result: The character that is hurt is Peter Strongbottom. Another Example: Find the character corresponding to the following content: \"I accidentally step on a bear trap. \" Existing characters: {\"characters\": [{\"name\": \"Tobias Baldin\", \"description\": \"A balding adventurer equipped with an axe and a gleaming shield.\"}]}. The player character is Tobias Baldin. First-person pronouns refer to them. Expected result: The character that is hurt is Tobias Baldin",
"HealCharacterInstruction": "Find the character that will be healed by magical effects such as a healing spell, through consuming a potion, or by resting. Example: Find the character corresponding to the following content: I cast a healing spell on Martin in order to restore his wounds he received from fighting off Arch. Existing characters: {\"characters\": [{\"name\": \"Alpha Werewolf Martin\", \"description\": \"A ferocious and rabid werewolf.\"}, {\"name\": \"Kristoffer, the Submissive\", \"description\": \"The most submissive healer in the kingdom\"},{\"name\": \"Arch\", \"description\": \"A powerful dragon roaming the world for worthy opponents.\"}]}. The player character is Peter Kristoffer, the Submissive. First-person pronouns refer to them. Expected result: The character that is healed is Alpha Werewolf Martin. Another Example: Find the character corresponding to the following content: \"I drink a healing potion. \" Existing characters: {\"characters\": [{\"name\": \"Tobias Baldin\", \"description\": \"A stalwart and balding warrior.\"}]}. The player character is Tobias Baldin. First-person pronouns refer to them. Expected result: The character that is healed is Tobias Baldin",
"HealCharacterInstruction": "Find the character that will be healed by magical effects such as a healing spell, through consuming a potion, or by resting. Example: Find the character corresponding to the following content: I cast a healing spell on Martin in order to restore his wounds he received from fighting off Arch. Existing characters: {\"characters\": [{\"name\": \"Alpha Werewolf Martin\", \"description\": \"A ferocious and rabid werewolf.\"}, {\"name\": \"Kristoffer, the Submissive\", \"description\": \"The most submissive healer in the kingdom\"},{\"name\": \"Arch\", \"description\": \"A powerful dragon roaming the world for worthy opponents.\"}]}. The player character is Kristoffer, the Submissive. First-person pronouns refer to them. Expected result: The character that is healed is Alpha Werewolf Martin. Another Example: Find the character corresponding to the following content: \"I drink a healing potion. \" Existing characters: {\"characters\": [{\"name\": \"Tobias Baldin\", \"description\": \"A stalwart and balding warrior.\"}]}. The player character is Tobias Baldin. First-person pronouns refer to them. Expected result: The character that is healed is Tobias Baldin",
"BattleInstruction": "Find the character that will be involved in a battle or combat. Example: Find the character corresponding to the following JSON description: {\"name\": \"Ivan\", \"description\": \"The wielder of Earth, Wind, and Fire.\"}. Existing characters: {\"characters\": [{\"name\": \"Ivan Quintessence, the Magician of Elements\", \"description\": \"A powerful magician that has mastered the elements of Earth, Wind, and Fire\", \"type\": \"Humanoid\"}]. In this case the input character Ivan partially matches the existing character Ivan Quintessence, the Magician of Elements and should therefore be selected."
}
}

0 comments on commit e4a8270

Please sign in to comment.