Skip to content

Commit 3c086d3

Browse files
committed
docs: add java docs
1 parent 2dfbb0f commit 3c086d3

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

application/src/main/java/org/togetherjava/tjbot/features/chatgpt/ChatGptModel.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ public enum ChatGptModel {
3131
this.chatModel = chatModel;
3232
}
3333

34+
/**
35+
* @return the underlying OpenAI model used by this enum.
36+
*/
3437
public ChatModel toChatModel() {
3538
return chatModel;
3639
}

application/src/main/java/org/togetherjava/tjbot/features/help/HelpSystemHelper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ RestAction<Message> constructChatGptAttempt(ThreadChannel threadChannel,
181181
*
182182
* @param answer The response text generated by AI.
183183
* @param selfUser The SelfUser representing the bot.
184-
* @param title The title for the MessageEmbed.
184+
* @param title The title for the MessageEmbed
185+
* @param model The AI model that was used for the foot notes
185186
* @return A MessageEmbed that contains response generated by AI.
186187
*/
187188
public MessageEmbed generateGptResponseEmbed(String answer, SelfUser selfUser, String title,

0 commit comments

Comments
 (0)