merge method

  1. @override
OpenAIOptions merge(
  1. covariant OpenAIOptions? other
)

Merges this RunnableOptions with another RunnableOptions.

Implementation

@override
OpenAIOptions merge(covariant final OpenAIOptions? other) {
  return copyWith(
    model: other?.model,
    bestOf: other?.bestOf,
    frequencyPenalty: other?.frequencyPenalty,
    logitBias: other?.logitBias,
    logprobs: other?.logprobs,
    maxTokens: other?.maxTokens,
    n: other?.n,
    presencePenalty: other?.presencePenalty,
    seed: other?.seed,
    stop: other?.stop,
    suffix: other?.suffix,
    temperature: other?.temperature,
    topP: other?.topP,
    user: other?.user,
    concurrencyLimit: other?.concurrencyLimit,
  );
}