Uses of Enum Class
com.anlavn.openai.ChatGPT.Model

Packages that use ChatGPT.Model
Package
Description
 
  • Uses of ChatGPT.Model in com.anlavn.openai

    Methods in com.anlavn.openai that return ChatGPT.Model
    Modifier and Type
    Method
    Description
    ChatGPT.Model.valueOf(String name)
    Returns 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.Model
    Modifier and Type
    Method
    Description
    final String
    ChatGPT.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 String
    ChatGPT.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.