Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Option to pick the GPT model #15

Open
TimRivoli opened this issue Aug 20, 2023 · 2 comments
Open

Feature Request: Option to pick the GPT model #15

TimRivoli opened this issue Aug 20, 2023 · 2 comments

Comments

@TimRivoli
Copy link

It would be nice to have an option under Settings to pick the GPT model. 3.5 Turbo is nice but I would like to test different models, at least 4.0.

@lambiengcode
Copy link
Owner

You can edit in file app/src/main/java/com/chatgptlite/wanted/models/TextCompletionsParam.kt:

data class TextCompletionsParam(
    @SerializedName("prompt")
    val promptText: String = "",
    @SerializedName("temperature")
    val temperature: Double = 0.9,
    @SerializedName("top_p")
    val topP: Double = 1.0,
    @SerializedName("n")
    val n: Int = 1,
    @SerializedName("stream")
    var stream: Boolean = true,
    @SerializedName("maxTokens")
    val maxTokens: Int = 2048,
    @SerializedName("model")
    val model: GPTModel = GPTModel.gpt35Turbo, <--- set default model here
    @SerializedName("messages")
    val messagesTurbo: List<MessageTurbo> = emptyList(),
)

@TimRivoli
Copy link
Author

Yes, I know I can update it there. I just think it would be nice to select it in settings. Also temperature. And a default system message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants