Skip to content

Commit

Permalink
update ReadMe in main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
yangsa666 committed Jan 3, 2024
1 parent c5b9ec8 commit 3cc0a24
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ A Teams bot to let you chat with ChatGPT on Teams.

# Build and Test

## Note
If you're using Azure Open AI API, please switch to `AzureOpenAIStack` branch.

## Prerequisites
1. Install Node.js: [Node.js (nodejs.org)](https://nodejs.org/en/)
2. Install Git: [Git for Windows](https://gitforwindows.org/)
Expand Down Expand Up @@ -52,9 +55,9 @@ A Teams bot to let you chat with ChatGPT on Teams.

`MicrosoftAppPassword`: Client secret of the bot you created previously.

`AZURE_API_KEY`: Your Azure OpenAI resource API key.
`OPENAI_API_KEY`: Your OpenAI API key.

`AZURE_ENDPOINT`: Your Azure OpenAI endpoint
`OpenAI_MODEL`: Your OpenAI model

You can copy Azure OpenAI key and endpoint from `Keys and Endoint` like below:
![image](https://github.com/yangsa666/node-js-teams-bot-with-chatgpt/assets/31430559/08dbd637-4443-40a3-9127-e0208bef66b8)
Expand Down

0 comments on commit 3cc0a24

Please sign in to comment.