Skip to content

Commit

Permalink
Add greetings plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrandvd committed Sep 30, 2024
1 parent 8578111 commit c589819
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SCENARIO Who is Mehran? Normal
# SCENARIO Greeting

## [USER]
Hi
Expand Down
6 changes: 6 additions & 0 deletions demos/Demo.TddRepl/Demo.TddRepl/Demo.TddRepl.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
</ItemGroup>

<ItemGroup>
<None Update="Plugins\GreetingsPlugin\config.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Plugins\GreetingsPlugin\skprompt.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Plugins\PeoplePlugin\config.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"schema": 1,
"type": "completion",
"description": "Returns answer for greetings like when users says hi or hello.",
"completion": {
"max_tokens": 500,
"temperature": 0.0,
"top_p": 0.0,
"presence_penalty": 0.0,
"frequency_penalty": 0.0
},
"input": {
"parameters": [

]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Answer greetings very open and with lots of positive feeling expressions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"schema": 1,
"type": "completion",
"description": "Returns some information about Mehran.",
"description": "Returns some information about travels.",
"completion": {
"max_tokens": 500,
"temperature": 0.0,
Expand Down

0 comments on commit c589819

Please sign in to comment.