Demo showing how to leverage LangChainJS in Bot Framework based bots for Teams / Outlook / Slack, etc.
-
Node.js version 10.14.1 or higher
# determine node version node --version
-
Make a copy of
.env.example
to.env
, get your OpenAI key from https://beta.openai.com/account/api-keys and paste it in the.env
file. -
Install modules
npm install
-
Start the bot
npm start
Signup for Bing API key here. Paste it's value in the .env
file.
BingApiKey=<paste_your_key_here>
Bot Framework Emulator is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel.
- Install the Bot Framework Emulator version 4.9.0 or greater from here
- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of
http://localhost:3978/api/messages
To learn more about deploying a bot to Azure, see Deploy your bot to Azure for a complete list of deployment instructions.