Skip to content

SidU/teams-langchain-js

Repository files navigation

teams-langchain-js ✨

Demo showing how to leverage LangChainJS in Bot Framework based bots for Teams / Outlook / Slack, etc.

Watch demo on YouTube

Prerequisites

  • Node.js version 10.14.1 or higher

    # determine node version
    node --version

To run the bot

Bing SERP API

Signup for Bing API key here. Paste it's value in the .env file.

BingApiKey=<paste_your_key_here>

Testing the bot using Bot Framework Emulator

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

Connect to the bot using Bot Framework Emulator

  • Launch Bot Framework Emulator
  • File -> Open Bot
  • Enter a Bot URL of http://localhost:3978/api/messages

Deploy the bot to Azure

To learn more about deploying a bot to Azure, see Deploy your bot to Azure for a complete list of deployment instructions.

Further reading

About

Demonstration of LangChainJS with Teams / Bot Framework bots

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published