Class LiteChatGptExtension<SENDER>

java.lang.Object
dev.rollczi.litecommands.chatgpt.LiteChatGptExtension<SENDER>
All Implemented Interfaces:
dev.rollczi.litecommands.extension.LiteCommandsProviderExtension<SENDER>, dev.rollczi.litecommands.extension.LiteExtension<SENDER>

public class LiteChatGptExtension<SENDER> extends Object implements dev.rollczi.litecommands.extension.LiteCommandsProviderExtension<SENDER>
  • Field Details

    • ARGUMENT_KEY

      public static final String ARGUMENT_KEY
      See Also:
    • ARGUMENT_TOPIC

      public static final dev.rollczi.litecommands.meta.MetaKey<String> ARGUMENT_TOPIC
  • Constructor Details

    • LiteChatGptExtension

      public LiteChatGptExtension()
    • LiteChatGptExtension

      public LiteChatGptExtension(UnaryOperator<ChatGptSettings> settings)
    • LiteChatGptExtension

      public LiteChatGptExtension(String apiKey, ChatGptModel model, double temperature)
  • Method Details

    • extend

      public void extend(dev.rollczi.litecommands.LiteCommandsBuilder<SENDER,?,?> builder, dev.rollczi.litecommands.LiteCommandsInternal<SENDER,?> internal)
      Specified by:
      extend in interface dev.rollczi.litecommands.extension.LiteExtension<SENDER>
    • extendCommandsProvider

      public void extendCommandsProvider(dev.rollczi.litecommands.LiteCommandsBuilder<SENDER,?,?> builder, dev.rollczi.litecommands.LiteCommandsInternal<SENDER,?> internal, dev.rollczi.litecommands.LiteCommandsProvider<SENDER> provider)
      Specified by:
      extendCommandsProvider in interface dev.rollczi.litecommands.extension.LiteCommandsProviderExtension<SENDER>
    • settings