Class PromptOptions.Params.OpenAIModelParams
-
- All Implemented Interfaces:
public final class PromptOptions.Params.OpenAIModelParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptOptions.Params.OpenAIModelParams.BuilderA builder for OpenAIModelParams.
public final classPromptOptions.Params.OpenAIModelParams.FunctionCallpublic final classPromptOptions.Params.OpenAIModelParams.ReasoningEffortpublic final classPromptOptions.Params.OpenAIModelParams.ResponseFormatpublic final classPromptOptions.Params.OpenAIModelParams.ToolChoice
-
Method Summary
-
-
Method Detail
-
frequencyPenalty
final Optional<Double> frequencyPenalty()
-
functionCall
final Optional<PromptOptions.Params.OpenAIModelParams.FunctionCall> functionCall()
-
maxCompletionTokens
final Optional<Double> maxCompletionTokens()
The successor to max_tokens
-
presencePenalty
final Optional<Double> presencePenalty()
-
reasoningEffort
final Optional<PromptOptions.Params.OpenAIModelParams.ReasoningEffort> reasoningEffort()
-
responseFormat
final Optional<PromptOptions.Params.OpenAIModelParams.ResponseFormat> responseFormat()
-
temperature
final Optional<Double> temperature()
-
toolChoice
final Optional<PromptOptions.Params.OpenAIModelParams.ToolChoice> toolChoice()
-
_frequencyPenalty
final JsonField<Double> _frequencyPenalty()
Returns the raw JSON value of frequencyPenalty.
Unlike frequencyPenalty, this method doesn't throw if the JSON field has an unexpected type.
-
_functionCall
final JsonField<PromptOptions.Params.OpenAIModelParams.FunctionCall> _functionCall()
Returns the raw JSON value of functionCall.
Unlike functionCall, this method doesn't throw if the JSON field has an unexpected type.
-
_maxCompletionTokens
final JsonField<Double> _maxCompletionTokens()
Returns the raw JSON value of maxCompletionTokens.
Unlike maxCompletionTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_maxTokens
final JsonField<Double> _maxTokens()
Returns the raw JSON value of maxTokens.
Unlike maxTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_n
final JsonField<Double> _n()
Returns the raw JSON value of n.
Unlike n, this method doesn't throw if the JSON field has an unexpected type.
-
_presencePenalty
final JsonField<Double> _presencePenalty()
Returns the raw JSON value of presencePenalty.
Unlike presencePenalty, this method doesn't throw if the JSON field has an unexpected type.
-
_reasoningEffort
final JsonField<PromptOptions.Params.OpenAIModelParams.ReasoningEffort> _reasoningEffort()
Returns the raw JSON value of reasoningEffort.
Unlike reasoningEffort, this method doesn't throw if the JSON field has an unexpected type.
-
_responseFormat
final JsonField<PromptOptions.Params.OpenAIModelParams.ResponseFormat> _responseFormat()
Returns the raw JSON value of responseFormat.
Unlike responseFormat, this method doesn't throw if the JSON field has an unexpected type.
-
_stop
final JsonField<List<String>> _stop()
Returns the raw JSON value of stop.
Unlike stop, this method doesn't throw if the JSON field has an unexpected type.
-
_temperature
final JsonField<Double> _temperature()
Returns the raw JSON value of temperature.
Unlike temperature, this method doesn't throw if the JSON field has an unexpected type.
-
_toolChoice
final JsonField<PromptOptions.Params.OpenAIModelParams.ToolChoice> _toolChoice()
Returns the raw JSON value of toolChoice.
Unlike toolChoice, this method doesn't throw if the JSON field has an unexpected type.
-
_topP
final JsonField<Double> _topP()
Returns the raw JSON value of topP.
Unlike topP, this method doesn't throw if the JSON field has an unexpected type.
-
_useCache
final JsonField<Boolean> _useCache()
Returns the raw JSON value of useCache.
Unlike useCache, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final PromptOptions.Params.OpenAIModelParams validate()
-
toBuilder
final PromptOptions.Params.OpenAIModelParams.Builder toBuilder()
-
builder
final static PromptOptions.Params.OpenAIModelParams.Builder builder()
Returns a mutable builder for constructing an instance of OpenAIModelParams.
-
-
-
-