fim
Creates file-in-the-middle (FIM) completion parameters with custom settings.
This function provides a convenient way to create parameters specifically for FIM completion requests using a builder pattern.
Example:
params {
fim {
prefix = "def calculate_total("
suffix = " return result"
temperature = 0.5
}
}
Content copied to clipboard
Return
Configured FIMCompletionParams for use with FIM endpoints
Parameters
block
Configuration block for building FIM parameters