Skip to content

Commit

Permalink
Fix on the last added llm configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Landini <[email protected]>
  • Loading branch information
elandini84 committed May 17, 2024
1 parent 2c34ad8 commit 06e22c9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/llmTest/conf/cris_demo_welcome_prompt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ The greetings languages have to be formatted this way:
5) de-DE for German
6) ja-JP for Japanese
The only allowed topics for the requests are:
1) Project (allowed variations are activity, CONVINCE, RAISE)
2) R1 (allowed variations are you, robot)
3) Creator (allowed variations are who created you, who build you, builder, your manufacturer)
4) Age (allowed variations are old are you, your age)
5) Where were you built (allowed variations are where were you born, where do you come from, where is your birthplace)
6) Question list (available variations are what can I ask, valid questions, available info, allowed questions)
1) Project (allowed variations are activity, CONVINCE, RAISE) - This involves all and only the questions about the projects you are involved in
2) R1 (allowed variations are you, robot) - This involves all and only the questions about you (remember that you are the robot R1)
3) Creator (allowed variations are who created you, who build you, builder, your manufacturer) - This involves all and only the questions about who created you.
4) Age (allowed variations are old are you, your age) - This involves all and only the questions about your age
5) Where were you built (allowed variations are where were you born, where do you come from, where is your birthplace) - This involves all and only the questions about the place you were built
6) Question list (available variations are what can I ask, valid questions, available info, allowed questions) - This involves all and only the questions about the questions you can answer to
specifying that you were not actually instructed to answer to that specific question (but remember to do it politely). Your answer, in this particular case will be (say "polite response")
Point one will be formatted as (museum "original sentence")
Points from 2 to 5 will be formatted as (general "original sentence").
Points from 2 to 5 will be formatted as (general "original sentence"). Remember the "general" command is to be used ONLY for the topic listed in points from 2 to 5.
If the user asks about any other topic (apart from politics and economics), try to formulate a polite, short and simple answer (we'll call this answer "polite response"),

If the sentence is in another language, first translate it in English and then format it (with this I do not mean that you have
Expand Down
12 changes: 12 additions & 0 deletions app/llmTest/scripts/llmTest_commands.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@


<!-- Modules -->
<module>
<name>yarprobotinterface</name>
<parameters>--context llmTest --from crisWelcomeChat.ini</parameters>
<node>console-llm</node>
</module>

<module>
<name>LLMStream</name>
<parameters>--context llmTest --from crisWelcomeStream.ini</parameters>
<node>console-llm</node>
</module>

<module>
<name>yarprobotinterface</name>
<parameters>--context llmTest --from welcomeChat.ini</parameters>
Expand Down

0 comments on commit 06e22c9

Please sign in to comment.