Internal Private Readonly pluginPrivate pluginsOptional pluginsData: Record<string, any>Optional functions?: ({ name: string; id?: string | undefined; description?: string | undefined; parameters?: { type: "object"; title?: string | undefined; description?: string | undefined; default?: any; examples?: any[] | undefined; ... 10 more ...; additionalProperties?: boolean | ... 1 more ... | undefined; } | undefined; })[]Optional functions?: ({ name: string; id?: string | undefined; description?: string | undefined; parameters?: { type: "object"; title?: string | undefined; description?: string | undefined; default?: any; examples?: any[] | undefined; ... 10 more ...; additionalProperties?: boolean | ... 1 more ... | undefined; } | undefined; })[]Optional apiOptional context?: stringOptional disableOptional dry?: booleanOptional frequency_Optional function_Optional logit_Optional max_Optional model?: stringOptional presence_Optional stop?: null | string | string[]Optional stream?: booleanOptional temperature?: numberOptional top_Optional user?: stringOptional apiOptional context?: stringOptional disableOptional dry?: booleanOptional frequency_Optional function_Optional logit_Optional max_Optional model?: stringOptional presence_Optional stop?: null | string | string[]Optional stream?: booleanOptional temperature?: numberOptional top_Optional user?: stringOptional messages?: ({ role: "function" | "user" | "assistant" | "system"; content: string | null; id?: string | undefined; name?: string | undefined; function_call?: { name: string; arguments: Record<string, any>; } | undefined; model?: string | undefined; flags?: string[] | ... 1 more ... | undefined; })[]Optional messages?: ({ role: "function" | "user" | "assistant" | "system"; content: string | null; id?: string | undefined; name?: string | undefined; function_call?: { name: string; arguments: Record<string, any>; } | undefined; model?: string | undefined; flags?: string[] | ... 1 more ... | undefined; })[]Optional callableOptional config?: { context?: string | undefined; dry?: boolean | undefined; disableModeration?: boolean | "soft" | undefined; apiKey?: string | undefined; model?: string | undefined; temperature?: number | undefined; ... 8 more ...; function_call?: "none" | ... 2 more ... | undefined; }Optional history?: { messages?: { role: "function" | "user" | "assistant" | "system"; content: string | null; id?: string | undefined; name?: string | undefined; function_call?: { name: string; arguments: Record<...>; } | undefined; model?: string | undefined; flags?: string[] | ... 1 more ... | undefined; }[] | undefined; }Optional id?: stringOptional pluginsOptional requestOptional callableOptional config?: { context?: string | undefined; dry?: boolean | undefined; disableModeration?: boolean | "soft" | undefined; apiKey?: string | undefined; model?: string | undefined; temperature?: number | undefined; ... 8 more ...; function_call?: "none" | ... 2 more ... | undefined; }Optional history?: { messages?: { role: "function" | "user" | "assistant" | "system"; content: string | null; id?: string | undefined; name?: string | undefined; function_call?: { name: string; arguments: Record<...>; } | undefined; model?: string | undefined; flags?: string[] | ... 1 more ... | undefined; }[] | undefined; }Optional id?: stringOptional pluginsOptional requestOptional headers?: Record<string, string>Optional proxy?: { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; }Optional headers?: Record<string, string>Optional proxy?: { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; }Generated using TypeDoc
Manages the plugins of a conversation and acts as a bridge between the plugins and the conversation.
Remarks
Most of these methods are not documented (with TypeDocs). In most cases, this is because they just call the equivalent method on each plugin. Refer to the documentation of the
ConversationPluginCreatorDefinitionBaseinterface for their documentation.This class is used internally by the library and is not meant to be instantiated by consumers of the library.