azure-search-openai-demo
azure-search-openai-demo copied to clipboard
Added FluentUI Slider to chat settings panel for overriding temperature
Purpose
- The Chat Settings panel does not provide a way to override the temperature value for requests to the Azure OpenAI completion endpoint. This PR adds a slider to the panel for customizing the temperature. Note that no other changes are required other than UI because the existing code already supports a temperature override value, and the various approaches (located in app/backend/approaches/*) already use it.
Does this introduce a breaking change?
[ ] Yes
[X] No
Pull Request Type
What kind of change does this Pull Request introduce?
[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:
How to Test
- Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
- Test the code
What to Check
Verify that the following are valid
- ...