agsamantha/node_modules/@langchain/community/dist/tools/google_calendar/base.d.ts
2024-10-02 15:15:21 -05:00

24 lines
824 B
TypeScript

import { Tool } from "@langchain/core/tools";
import { BaseLLM } from "@langchain/core/language_models/llms";
export interface GoogleCalendarAgentParams {
credentials?: {
clientEmail?: string;
privateKey?: string;
calendarId?: string;
};
scopes?: string[];
model?: BaseLLM;
}
export declare class GoogleCalendarBase extends Tool {
name: string;
description: string;
protected clientEmail: string;
protected privateKey: string;
protected calendarId: string;
protected scopes: string[];
protected llm: BaseLLM;
constructor(fields?: GoogleCalendarAgentParams);
getModel(): BaseLLM<import("@langchain/core/language_models/llms").BaseLLMCallOptions>;
getAuth(): Promise<import("googleapis-common").JWT>;
_call(input: string): Promise<string>;
}