public class AiLlmEndpointParamsOpenAi extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
AiLlmEndpointParamsOpenAi.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Double |
frequencyPenalty
A number between -2.0 and 2.0.
|
protected Double |
presencePenalty
A number between -2.0 and 2.0.
|
protected String |
stop
Up to 4 sequences where the API will stop generating further tokens.
|
protected Double |
temperature
What sampling temperature to use, between 0 and 2.
|
protected Double |
topP
An alternative to sampling with temperature, called nucleus sampling, where the model considers
the results of the tokens with `top_p` probability mass.
|
protected EnumWrapper<AiLlmEndpointParamsOpenAiTypeField> |
type
The type of the AI LLM endpoint params object for OpenAI.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
AiLlmEndpointParamsOpenAi() |
protected |
AiLlmEndpointParamsOpenAi(AiLlmEndpointParamsOpenAi.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Double |
getFrequencyPenalty() |
Double |
getPresencePenalty() |
String |
getStop() |
Double |
getTemperature() |
Double |
getTopP() |
EnumWrapper<AiLlmEndpointParamsOpenAiTypeField> |
getType() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected EnumWrapper<AiLlmEndpointParamsOpenAiTypeField> type
protected Double temperature
protected Double topP
protected Double frequencyPenalty
protected Double presencePenalty
public AiLlmEndpointParamsOpenAi()
protected AiLlmEndpointParamsOpenAi(AiLlmEndpointParamsOpenAi.Builder builder)
public EnumWrapper<AiLlmEndpointParamsOpenAiTypeField> getType()
public Double getTemperature()
public Double getFrequencyPenalty()
public Double getPresencePenalty()