-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.Net: Remove use of the samples/skills folder (#4684)
### Motivation and Context `sample\skills` folder will be removed soon ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄
- Loading branch information
1 parent
a919536
commit 7fb6af2
Showing
5 changed files
with
52 additions
and
13 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 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
26 changes: 26 additions & 0 deletions
26
dotnet/src/IntegrationTests/skills/FunSkill/Joke/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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"schema": 1, | ||
"description": "Generate a funny joke", | ||
"type": "completion", | ||
"completion": { | ||
"max_tokens": 1000, | ||
"temperature": 0.9, | ||
"top_p": 0.0, | ||
"presence_penalty": 0.0, | ||
"frequency_penalty": 0.0 | ||
}, | ||
"input": { | ||
"parameters": [ | ||
{ | ||
"name": "input", | ||
"description": "Joke subject", | ||
"defaultValue": "" | ||
}, | ||
{ | ||
"name": "style", | ||
"description": "Give a hint about the desired joke style", | ||
"defaultValue": "" | ||
} | ||
] | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
dotnet/src/IntegrationTests/skills/FunSkill/Joke/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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
WRITE EXACTLY ONE JOKE or HUMOROUS STORY ABOUT THE TOPIC BELOW | ||
|
||
JOKE MUST BE: | ||
- G RATED | ||
- WORKPLACE/FAMILY SAFE | ||
NO SEXISM, RACISM OR OTHER BIAS/BIGOTRY | ||
|
||
BE CREATIVE AND FUNNY. I WANT TO LAUGH. | ||
Incorporate the style suggestion, if provided: {{$style}} | ||
+++++ | ||
|
||
{{$input}} | ||
+++++ |