copy
Creates a copy of these parameters with optional changes to specific properties.
This is useful when you want to reuse a base configuration with slight modifications, such as changing from standard to streaming mode.
Example:
// Create a streaming version of existing parameters
val streamParams = regularParams.copy(stream = true)
Return
A new FIMCompletionParams instance with the specified changes
Parameters
New echo setting, or existing value if not specified
New frequency penalty value, or existing value if not specified
New log probabilities count, or existing value if not specified
New maximum token count, or existing value if not specified
New presence penalty value, or existing value if not specified
New stop reason, or existing value if not specified
New streaming setting, or existing value if not specified
New stream options, or existing value if not specified
New suffix text, or existing value if not specified
New temperature value, or existing value if not specified
New top-p value, or existing value if not specified