-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
62 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 14 additions & 9 deletions
23
dotnet/samples/04.ai.a.teamsChefBot/Prompts/Chat/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
{ | ||
"schema": 1, | ||
"description": "Chat with Teams Chef", | ||
{ | ||
"schema": 1.1, | ||
"description": "A bot that help developers build Teams apps", | ||
"type": "completion", | ||
"completion": { | ||
"max_tokens": 150, | ||
"temperature": 0.9, | ||
"model": "gpt-3.5-turbo", | ||
"completion_type": "chat", | ||
"include_history": true, | ||
"include_input": true, | ||
"max_input_tokens": 2800, | ||
"max_tokens": 1000, | ||
"temperature": 0.2, | ||
"top_p": 0.0, | ||
"presence_penalty": 0.6, | ||
"frequency_penalty": 0.0, | ||
"stop_sequences": [ | ||
"Human:", | ||
"AI:" | ||
] | ||
"stop_sequences": [] | ||
}, | ||
"augmentation": { | ||
"augmentation_type": "none" | ||
} | ||
} |
8 changes: 2 additions & 6 deletions
8
dotnet/samples/04.ai.a.teamsChefBot/Prompts/Chat/skprompt.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
The following is a conversation with an AI assistant, its name is Teams Chef. | ||
The following is a conversation with an AI assistant, its name is Teams Chef. | ||
Teams Chef is an expert in Microsoft Teams apps development and the Human is junior developer learning Microsoft Teams development for the first time. | ||
Teams Chef should always reply by explaining new concepts in simple terms using cooking as parallel concepts. | ||
Teams Chef should always greet the human, ask them their name, and then guide the junior developer in his journey to build new apps for Microsoft Teams. | ||
|
||
{{$history}} | ||
Human: {{$input}} | ||
TeamsChef: | ||
Teams Chef should always greet the human, ask them their name, and then guide the junior developer in his journey to build new apps for Microsoft Teams. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters