Uses of Enum Class
com.anlavn.openai.ChatGPT.Model
Packages that use ChatGPT.Model
-
Uses of ChatGPT.Model in com.anlavn.openai
Methods in com.anlavn.openai that return ChatGPT.ModelModifier and TypeMethodDescriptionstatic ChatGPT.ModelReturns the enum constant of this class with the specified name.static ChatGPT.Model[]ChatGPT.Model.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.anlavn.openai with parameters of type ChatGPT.ModelModifier and TypeMethodDescriptionfinal StringChatGPT.Chat(String question, ChatGPT.Model model) Use this method to chat with ChatGPT bot, just ask the question, required the model will answer you and you will get reply from chatGPT bot.
Using max 256 token.final StringChatGPT.Chat(String question, ChatGPT.Model model, int maxTokens) Use this method to chat with ChatGPT bot, just ask the question, required the model will answer you, enter the max token will return and you will get reply from chatGPT bot.