Type alias PluginNameFromConversationOptions<TOptions>Internal

PluginNameFromConversationOptions<TOptions>: TOptions["plugins"] extends ConversationPlugin[]
    ? PluginNameFromPlugins<TOptions["plugins"]>
    : string

Utility type to infer the possible plugin names available in a conversation, based on the options passed to the conversation.

This type is used internally to determine the type of the plugin names available in a conversation. It should have no use outside of the library.

Type Parameters

Generated using TypeDoc