🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@wrtnlabs/connector-calendly

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wrtnlabs/connector-calendly

By installing the package, you can use functions for `Calendly`.

latest
Source
npmnpm
Version
0.1.506
Version published
Maintainers
4
Created
Source

@wrtnlabs/connector-calendly

By installing the package, you can use functions for Calendly.

How to Use

Setup

install the packages related with @agentica/core

  • @agentica : README
  • @samchon/openapi : README
  • typia : Homepage
npm install @agentica/core @samchon/openapi typia
npx typia setup

install the @wrtnlabs/connector-calendly package.

npm install @wrtnlabs/connector-calendly

Usage

import { CalendlyService } from "@wrtnlabs/connector-calendly";

async function main() {
  const agent = new Agentica({
    model: "chatgpt",
    vendor: {
      api: openai,
      model: "gpt-4o-mini",
    },
    controllers: [
      {
        name: "Calendly Connector",
        protocol: "class",
        application: typia.llm.application<CalendlyService, "chatgpt">(),
        execute: new CalendlyService(),
      },
    ],
  });

  await agent.conversate("What you can do?");
}

main().catch(console.error);

Define the LLM model to be used through new OpenAI() and create an agent to allow tool calls by injecting the OpenAI class into new Agentica(). And you can define the tool to use by entering Connector package(tool) in the controllers part of the creator. At this time, the protocol must be set to "class" and the methods of the class must be set to "class" so that the methods of the class can be executed through utterance with LLM. typia.llm.applicationOfValidate<CalendlyService, "chatgpt">() converts the methods implemented in class in Typescript compilation time into openai function scheme.

Keywords

openai

FAQs

Package last updated on 28 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts