Open
Description
Describe the bug
The instructions within the readme for the WhoBot are not quite correct as some files have changed since it was written. I believe that these are the specific lines that are incorrect:
- Open
./infra/azure.bicep
and comment out lines 72-75 and uncomment lines 76-83. - Open
./infra/azure.parameters.json
and replace lines 20-22 with:
To Reproduce
Steps to reproduce the behavior:
- Add your OpenAI key to the
SECRET_OPENAI_KEY
variable in the./env/.env.local.user
file.
If you are using Azure OpenAI then follow these steps:
- Comment the
SECRET_OPENAI_KEY
variable in the./env/.env.local.user
file. - Add your Azure OpenAI key and endpoint values to the
SECRET_AZURE_OPENAI_KEY
andSECRET_AZURE_OPENAI_ENDPOINT
variables - Open the
teamsapp.local.yml
file and modify the last step to use Azure OpenAI variables instead:
- uses: file/createOrUpdateEnvironmentFile
with:
target: ./.env
envs:
BOT_ID: ${{BOT_ID}}
BOT_PASSWORD: ${{SECRET_BOT_PASSWORD}}
#OPENAI_KEY: ${{SECRET_OPENAI_KEY}}
AZURE_OPENAI_KEY: ${{SECRET_AZURE_OPENAI_KEY}}
AZURE_OPENAI_ENDPOINT: ${{SECRET_AZURE_OPENAI_ENDPOINT}}
- Open
./infra/azure.bicep
and comment out lines 72-75 and uncomment lines 76-83. - Open
./infra/azure.parameters.json
and replace lines 20-22 with:
"azureOpenAIKey": {
"value": "${{SECRET_AZURE_OPENAI_KEY}}"
},
"azureOpenAIEndpoint": {
"value": "${{SECRET_AZURE_OPENAI_ENDPOINT}}"
}
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
VS Code Extension Information (please complete the following information):
- OS: [e.g. iOS]
- Version [e.g. 22]
CLI Information (please complete the following information):
- OS: [e.g. iOS8.1]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.