Package dev.rollczi.litecommands.chatgpt
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLiteChatGptExtension(String apiKey, ChatGptModel model, double temperature) LiteChatGptExtension(UnaryOperator<ChatGptSettings> settings) -
Method Summary
Modifier and TypeMethodDescriptionvoidextend(dev.rollczi.litecommands.LiteCommandsBuilder<SENDER, ?, ?> builder, dev.rollczi.litecommands.LiteCommandsInternal<SENDER, ?> internal) voidextendCommandsProvider(dev.rollczi.litecommands.LiteCommandsBuilder<SENDER, ?, ?> builder, dev.rollczi.litecommands.LiteCommandsInternal<SENDER, ?> internal, dev.rollczi.litecommands.LiteCommandsProvider<SENDER> provider) settings(UnaryOperator<ChatGptSettings> settings)
-
Field Details
-
ARGUMENT_KEY
- See Also:
-
ARGUMENT_TOPIC
-
-
Constructor Details
-
LiteChatGptExtension
public LiteChatGptExtension() -
LiteChatGptExtension
-
LiteChatGptExtension
-
-
Method Details
-
extend
public void extend(dev.rollczi.litecommands.LiteCommandsBuilder<SENDER, ?, ?> builder, dev.rollczi.litecommands.LiteCommandsInternal<SENDER, ?> internal) - Specified by:
extendin interfacedev.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:
extendCommandsProviderin interfacedev.rollczi.litecommands.extension.LiteCommandsProviderExtension<SENDER>
-
settings
-