{"id":13593325,"url":"https://github.com/SidU/teams-langchain-js","last_synced_at":"2025-04-09T02:33:15.128Z","repository":{"id":69309165,"uuid":"603919770","full_name":"SidU/teams-langchain-js","owner":"SidU","description":"Demonstration of LangChainJS with Teams / Bot Framework bots","archived":false,"fork":false,"pushed_at":"2023-03-03T14:20:19.000Z","size":89,"stargazers_count":59,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-06T14:42:31.972Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SidU.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-19T23:49:45.000Z","updated_at":"2024-10-30T23:58:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ef3459a-ce87-4c31-867c-572e3cc0b645","html_url":"https://github.com/SidU/teams-langchain-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidU%2Fteams-langchain-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidU%2Fteams-langchain-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidU%2Fteams-langchain-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidU%2Fteams-langchain-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SidU","download_url":"https://codeload.github.com/SidU/teams-langchain-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247965837,"owners_count":21025446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T16:01:19.194Z","updated_at":"2025-04-09T02:33:15.122Z","avatar_url":"https://github.com/SidU.png","language":"JavaScript","funding_links":[],"categories":["Open Source Projects","开源项目"],"sub_categories":["Other / Chatbots","其他聊天机器人"],"readme":"# teams-langchain-js ✨\r\n\r\nDemo showing how to leverage LangChainJS in Bot Framework based bots for Teams / Outlook / Slack, etc.\r\n\r\n[Watch demo on YouTube](https://youtu.be/hPaIEVTjY4o) \r\n\r\n## Prerequisites\r\n\r\n- [Node.js](https://nodejs.org) version 10.14.1 or higher\r\n\r\n    ```bash\r\n    # determine node version\r\n    node --version\r\n    ```\r\n\r\n## To run the bot\r\n\r\n- Make a copy of `.env.example` to `.env`, get your OpenAI key from [https://beta.openai.com/account/api-keys](https://beta.openai.com/account/api-keys) and paste it in the `.env` file.\r\n\r\n- Install modules\r\n\r\n    ```bash\r\n    npm install\r\n    ```\r\n\r\n- Start the bot\r\n\r\n    ```bash\r\n    npm start\r\n    ```\r\n\r\n## Bing SERP API\r\nSignup for Bing API key [here](https://aka.ms/bingapisignup). Paste it's value in the `.env` file.\r\n\r\n`BingApiKey=\u003cpaste_your_key_here\u003e`\r\n\r\n## Testing the bot using Bot Framework Emulator\r\n\r\n[Bot Framework Emulator](https://github.com/microsoft/botframework-emulator) is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel.\r\n\r\n- Install the Bot Framework Emulator version 4.9.0 or greater from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)\r\n\r\n### Connect to the bot using Bot Framework Emulator\r\n\r\n- Launch Bot Framework Emulator\r\n- File -\u003e Open Bot\r\n- Enter a Bot URL of `http://localhost:3978/api/messages`\r\n\r\n## Deploy the bot to Azure\r\n\r\nTo learn more about deploying a bot to Azure, see [Deploy your bot to Azure](https://aka.ms/azuredeployment) for a complete list of deployment instructions.\r\n\r\n\r\n## Further reading\r\n- [LangChainJS](https://hwchase17.github.io/langchainjs/docs/getting-started)\r\n- [ReAct paper](https://arxiv.org/pdf/2210.03629.pdf)\r\n- [Bot Framework Documentation](https://docs.botframework.com)\r\n- [Bot Basics](https://docs.microsoft.com/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0)\r\n- [Dialogs](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-concept-dialog?view=azure-bot-service-4.0)\r\n- [Gathering Input Using Prompts](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-prompts?view=azure-bot-service-4.0)\r\n- [Activity processing](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-concept-activity-processing?view=azure-bot-service-4.0)\r\n- [Azure Bot Service Introduction](https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0)\r\n- [Azure Bot Service Documentation](https://docs.microsoft.com/azure/bot-service/?view=azure-bot-service-4.0)\r\n- [Azure CLI](https://docs.microsoft.com/cli/azure/?view=azure-cli-latest)\r\n- [Azure Portal](https://portal.azure.com)\r\n- [Language Understanding using LUIS](https://docs.microsoft.com/en-us/azure/cognitive-services/luis/)\r\n- [Channels and Bot Connector Service](https://docs.microsoft.com/en-us/azure/bot-service/bot-concepts?view=azure-bot-service-4.0)\r\n- [Restify](https://www.npmjs.com/package/restify)\r\n- [dotenv](https://www.npmjs.com/package/dotenv)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSidU%2Fteams-langchain-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSidU%2Fteams-langchain-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSidU%2Fteams-langchain-js/lists"}