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;
91
91
import java.util.List ;
92
92
93
93
ChatCompletionCreateParams params = ChatCompletionCreateParams . builder()
94
- .message (List . of(ChatCompletionMessageParam . ofChatCompletionUserMessageParam(ChatCompletionUserMessageParam . builder()
94
+ .messages (List . of(ChatCompletionMessageParam . ofChatCompletionUserMessageParam(ChatCompletionUserMessageParam . builder()
95
95
.role(ChatCompletionUserMessageParam . Role . USER )
96
96
.content(ChatCompletionUserMessageParam . Content . ofTextContent(" Say this is a test" ))
97
97
.build())))
@@ -119,7 +119,8 @@ Use the `FineTuningJobListParams` builder to set parameters:
119
119
120
120
``` java
121
121
FineTuningJobListParams params = FineTuningJobListParams . builder()
122
- .limit(20 )
122
+ .after(" after" )
123
+ .limit(20L )
123
124
.build();
124
125
FineTuningJobListPage page1 = client. fineTuning(). jobs(). list(params);
125
126
You can’t perform that action at this time.
0 commit comments