-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update prompt for QuestionAnswerTool (Azure-Samples#706)
* Add new prompt for QuestionAnswerTool * Add `poetry install` to deploy scripts * Move config to self * Add unit tests * Remove comments * Move few-shot example to config * Fixes + Update tests * Format * Remove poetry install * Add warnings, log warnings, fix tests * Update + simplify tests * Fix config when old config file has been saved * Fix tests * Add language to prompt * Catch JSON decode error * Refactor QuestionAnswerTool.py for prompt template changes and few-shot example updates * Add file_exists method to AzureBlobStorageHelper.py and use it in ConfigHelper.py * Revert changes to AZURE_SEARCH_TOP_K * Update tests * Update warning message * Add disabling of text area * Change UI help * Rename to Azure OpenAI On Your Data * Load default config from file * Use `.get()` * Change to use Template string --------- Co-authored-by: Ross Smith <[email protected]>
- Loading branch information
1 parent
b7709c6
commit d2bc76f
Showing
13 changed files
with
1,240 additions
and
294 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
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
Oops, something went wrong.