Class LlamaLlmInferenceResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiinference.model.LlamaLlmInferenceResponse.Builder
-
- Enclosing class:
- LlamaLlmInferenceResponse
public static class LlamaLlmInferenceResponse.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LlamaLlmInferenceResponse
build()
LlamaLlmInferenceResponse.Builder
choices(List<Choice> choices)
A list of generated texts.LlamaLlmInferenceResponse.Builder
copy(LlamaLlmInferenceResponse model)
LlamaLlmInferenceResponse.Builder
created(Date created)
The Unix timestamp (in seconds) of when the generation was created.
-
-
-
Method Detail
-
created
public LlamaLlmInferenceResponse.Builder created(Date created)
The Unix timestamp (in seconds) of when the generation was created.- Parameters:
created
- the value to set- Returns:
- this builder
-
choices
public LlamaLlmInferenceResponse.Builder choices(List<Choice> choices)
A list of generated texts.Can be more than one if n is greater than 1.
- Parameters:
choices
- the value to set- Returns:
- this builder
-
build
public LlamaLlmInferenceResponse build()
-
copy
public LlamaLlmInferenceResponse.Builder copy(LlamaLlmInferenceResponse model)
-
-