Skip to content

AI WhoBot incorrect readme #13336

Open
Open
@brandonjohnsen

Description

@brandonjohnsen

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:

  1. 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 and SECRET_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.

Metadata

Metadata

Assignees

Labels

TA:PMPM investigation areaupstreamThe issue is tracked external dependency

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions