public static class GenerateTextDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GenerateTextDetails |
build() |
GenerateTextDetails.Builder |
compartmentId(String compartmentId)
The OCID of compartment in which to call the Generative AI service to generate text.
|
GenerateTextDetails.Builder |
copy(GenerateTextDetails model) |
GenerateTextDetails.Builder |
inferenceRequest(LlmInferenceRequest inferenceRequest) |
GenerateTextDetails.Builder |
servingMode(ServingMode servingMode) |
public GenerateTextDetails.Builder compartmentId(String compartmentId)
The OCID of compartment in which to call the Generative AI service to generate text.
compartmentId
- the value to setpublic GenerateTextDetails.Builder servingMode(ServingMode servingMode)
public GenerateTextDetails.Builder inferenceRequest(LlmInferenceRequest inferenceRequest)
public GenerateTextDetails build()
public GenerateTextDetails.Builder copy(GenerateTextDetails model)
Copyright © 2016–2024. All rights reserved.