GithubHelp home page GithubHelp logo

ojusave / zoom-anthropic-chatbot Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 206 KB

This project is a Zoom Teams Chat App that uses the Anthropics API to provide responses in Zoom Team Chat.

JavaScript 100.00%

zoom-anthropic-chatbot's Introduction

Zoom-Anthropic-Chatbot

This project is a Zoom Team Chat App that uses the Anthropics API to provide responses in Zoom Team Chat.

Prerequisites

Before you can use this chatbot, you'll need the following:

  • Node.js (version 12 or later)
  • A Zoom account
  • An Anthropic AI account

Setup

Configuration

You need to set up your environment variables. Create a .env file in the project root and add the following variables:

  • ZOOM_CLIENT_ID=
  • ZOOM_CLIENT_SECRET=
  • ZOOM_BOT_JID=
  • ZOOM_WEBHOOK_SECRET_TOKEN=
  • ZOOM_VERIFICATION_CODE=
  • ANTHROPIC_API_KEY=

To obtain these variables:

  • For Zoom variables (ZOOM_CLIENT_ID, ZOOM_CLIENT_SECRET, ZOOM_BOT_JID, ZOOM_WEBHOOK_SECRET_TOKEN, ZOOM_VERIFICATION_CODE), refer to the Zoom App Marketplace guide on creating a Team Chat app.

  • For the ANTHROPIC_API_KEY, you can obtain it by applying for access to Claude via the Anthropics web console. Once you have access, you can generate API keys in your Account Settings.

Running the Application

To start the application:

node index.js

The application will run on http://localhost:4000/ by default, but you can set a different port by changing the PORT variable in your .env file.

Usage

  • In your Zoom Team Chat App's Credentials section, go to the Local Test or Submit page depending on which environment you are using (Development or Production), and click "Add".

  • After authorizing, you will be taken to Zoom Team Chat and see a message from the Zoom-Anthropic-Chatbot:
    "Greetings from Zoom-Anthropic-Chatbot Bot!"

  • To use the bot type a message in the chat like this:

"Tell me some places to visit in San Francisco?"

Image 1

and your respose would look like this:

Image 2

If you want to use the bot in a chat or a channel, you can invoke the bot with a "/"

Image 3

zoom-anthropic-chatbot's People

Stargazers

CrimeFog avatar

Watchers

Ojus M Save avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.