Package dev.rollczi.litecommands.chatgpt
Class ChatGptSettings
- java.lang.Object
-
- dev.rollczi.litecommands.chatgpt.ChatGptSettings
-
public class ChatGptSettings extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ChatGptPromptCAT_BOY_SUGGESTER
-
Constructor Summary
Constructors Constructor Description ChatGptSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChatGptSettingsapiKey(java.lang.String apiKey)ChatGptSettingscooldown(java.time.Duration cooldown)ChatGptSettingsmodel(ChatGptModel model)ChatGptSettingsonlyAfterSpace(boolean onlyAfterSpace)ChatGptSettingsprompt(ChatGptPrompt prompt)ChatGptSettingspromptWithTopic(ChatGptPromptWithTopic promptWithTopic)ChatGptSettingstemperature(double temperature)ChatGptSettingstokensLimit(int minTokens, int maxTokens)
-
-
-
Field Detail
-
CAT_BOY_SUGGESTER
public static final ChatGptPrompt CAT_BOY_SUGGESTER
-
-
Method Detail
-
apiKey
public ChatGptSettings apiKey(java.lang.String apiKey)
-
model
public ChatGptSettings model(ChatGptModel model)
-
temperature
public ChatGptSettings temperature(double temperature)
-
prompt
public ChatGptSettings prompt(ChatGptPrompt prompt)
-
promptWithTopic
public ChatGptSettings promptWithTopic(ChatGptPromptWithTopic promptWithTopic)
-
tokensLimit
public ChatGptSettings tokensLimit(int minTokens, int maxTokens)
-
onlyAfterSpace
public ChatGptSettings onlyAfterSpace(boolean onlyAfterSpace)
-
cooldown
public ChatGptSettings cooldown(java.time.Duration cooldown)
-
-