fill_from_model


Description:

public void fill_from_model (Model model)

Fills this Options object with values parsed from model parameters string.

Parses the model's parameters string (format: "temperature 0.7\nnum_ctx 2048") and sets the corresponding properties using set_property. Uses switch case grouped by type (int, double, string).

Parameters:

model

The model object containing the parameters string