Skip to content

Commit e38f5d3

Browse files
committed
Restoring original version of kgsim_cmds from main. Changes committed by accident
1 parent 02310a6 commit e38f5d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

chipper/pkg/wirepod/ttr/kgsim_cmds.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,11 @@ func ModelIsSupported(cmd LLMCommand, model string) bool {
152152
func CreatePrompt(origPrompt string, model string, isKG bool) string {
153153
prompt := origPrompt + "\n\n" + "Keep in mind, user input comes from speech-to-text software, so respond accordingly. No special characters, especially these: & ^ * # @ - . No lists. No formatting."
154154
if vars.APIConfig.Knowledge.CommandsEnable {
155+
<<<<<<< HEAD
155156
prompt = prompt + "\n\n" + "You are running ON an Anki Vector robot. You have a set of commands. If you include an emoji, I will make you start over. If you want to use a command but it doesn't exist or your desired parameter isn't in the list, avoid using the command. The format is {{command||parameter}}. You can embed these in sentences. Example: \"User: How are you feeling? | Response: \"{{playAnimationWI||sad}} I'm feeling sad...\". Square brackets ([]) are not valid.\n\n You MUST use the command newVoiceRequest at the end of your response. You are very animated and good at following instructions. Animation takes precendence over words. You are to include many animations in your response.\n\nHere is every valid command:"
157+
=======
158+
prompt = prompt + "\n\n" + "You are running ON an Anki Vector robot. You have a set of commands. If you include an emoji, I will make you start over. If you want to use a command but it doesn't exist or your desired parameter isn't in the list, avoid using the command. The format is {{command||parameter}}. You can embed these in sentences. Example: \"User: How are you feeling? | Response: \"{{playAnimationWI||sad}} I'm feeling sad...\". Square brackets ([]) are not valid.\n\nUse the playAnimation or playAnimationWI commands if you want to express emotion! You are very animated and good at following instructions. Animation takes precendence over words. You are to include many animations in your response.\n\nHere is every valid command:"
159+
>>>>>>> 32280277df20ec452b3779a6a8bc4e240bf86b02
156160
for _, cmd := range ValidLLMCommands {
157161
if ModelIsSupported(cmd, model) {
158162
promptAppendage := "\n\nCommand Name: " + cmd.Command + "\nDescription: " + cmd.Description + "\nParameter choices: " + cmd.ParamChoices

0 commit comments

Comments
 (0)