File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ import com.openai.models.ChatCompletionCreateParams;
9191import java.util.List ;
9292
9393ChatCompletionCreateParams params = ChatCompletionCreateParams . builder()
94- .message (List . of(ChatCompletionMessageParam . ofChatCompletionUserMessageParam(ChatCompletionUserMessageParam . builder()
94+ .messages (List . of(ChatCompletionMessageParam . ofChatCompletionUserMessageParam(ChatCompletionUserMessageParam . builder()
9595 .role(ChatCompletionUserMessageParam . Role . USER )
9696 .content(ChatCompletionUserMessageParam . Content . ofTextContent(" Say this is a test" ))
9797 .build())))
@@ -119,7 +119,8 @@ Use the `FineTuningJobListParams` builder to set parameters:
119119
120120``` java
121121FineTuningJobListParams params = FineTuningJobListParams . builder()
122- .limit(20 )
122+ .after(" after" )
123+ .limit(20L )
123124 .build();
124125FineTuningJobListPage page1 = client. fineTuning(). jobs(). list(params);
125126
You can’t perform that action at this time.
0 commit comments