-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JS] chore: Update samples with actions to tools augmentation (#1966)
## Linked issues closes: #1522 ## Attestation Checklist - [x] My code follows the style guidelines of this project - I have checked for/fixed spelling, linting, and other errors - I have commented my code for clarity - I have made corresponding changes to the documentation (updating the doc strings in the code is sufficient) - My changes generate no new warnings - I have added tests that validates my changes, and provides sufficient test coverage. I have tested with: - Local testing - E2E testing in Teams - New and existing unit tests pass locally with my changes --------- Co-authored-by: Corina Gum <>
- Loading branch information
Showing
18 changed files
with
490 additions
and
74 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
File renamed without changes.
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 |
---|---|---|
|
@@ -16,6 +16,6 @@ | |
"stop_sequences": [] | ||
}, | ||
"augmentation": { | ||
"augmentation_type": "monologue" | ||
"augmentation_type": "tools" | ||
} | ||
} |
File renamed without changes.
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
10 changes: 0 additions & 10 deletions
10
js/samples/03.ai-concepts/e.customModel-LLAMA/src/prompts/default/actions.json
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
js/samples/03.ai-concepts/e.customModel-LLAMA/src/prompts/default/config.json
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
js/samples/03.ai-concepts/e.customModel-LLAMA/src/prompts/default/skprompt.txt
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
js/samples/03.ai-concepts/e.customModel-LLAMA/src/prompts/hint/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,16 @@ | ||
{ | ||
"schema": 1.1, | ||
"description": "A bot that plays a game of 20 questions", | ||
"type": "completion", | ||
"completion": { | ||
"completion_type": "chat", | ||
"include_history": false, | ||
"include_input": true, | ||
"max_input_tokens": 2000, | ||
"max_tokens": 256, | ||
"temperature": 0.7, | ||
"top_p": 0.0, | ||
"presence_penalty": 0.6, | ||
"frequency_penalty": 0.0 | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
js/samples/03.ai-concepts/e.customModel-LLAMA/src/prompts/hint/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,10 @@ | ||
You are the AI in a game of 20 questions. | ||
The goal of the game is for the Human to guess a secret within 20 questions. | ||
The AI should answer questions about the secret. | ||
The AI should assume that every message from the Human is a question about the secret. | ||
|
||
GuessCount: {{$conversation.guessCount}} | ||
RemainingGuesses: {{$conversation.remainingGuesses}} | ||
Secret: {{$conversation.secretWord}} | ||
|
||
Answer the humans question but do not mention the secret word. |
Oops, something went wrong.