ChatGPT-Java-API
2.0.2-SNAPSHOT
jvm
ChatGPT-Java-API
/
com.cjcrafter.openai.completions
/
CompletionRequest
/
Builder
/
model
model
fun
model
(
model
:
String
)
:
CompletionRequest.Builder
Sets the model for the CompletionRequest.
Return
The updated Builder instance.
Parameters
model
The ID of the model to use.