n8n
Version:
n8n Workflow Automation Tool
26 lines (25 loc) • 1.48 kB
TypeScript
import type { ModuleInterface } from '@n8n/decorators';
export declare class ChatHubModule implements ModuleInterface {
init(): Promise<void>;
settings(): Promise<{
enabled: boolean;
providers: Record<"anthropic" | "openai" | "google" | "groq" | "cohere" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud", {
provider: "anthropic" | "openai" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud";
credentialId: string | null;
allowedModels: {
model: string;
displayName: string;
isManual?: boolean | undefined;
}[];
createdAt: string;
updatedAt: string | null;
enabled?: boolean | undefined;
responsesApiEnabled?: boolean | undefined;
contextWindowLength?: number | undefined;
}>;
semanticSearch: import("@n8n/api-types").ChatHubSemanticSearchSettings;
agentUploadMaxSizeMb: number;
}>;
entities(): Promise<(typeof import("./chat-hub-tool.entity").ChatHubTool | typeof import("./chat-hub-agent.entity").ChatHubAgent | typeof import("./chat-hub-session.entity").ChatHubSession | typeof import("./chat-hub-message.entity").ChatHubMessage)[]>;
shutdown(): Promise<void>;
}