withParams
Returns a new instance of the Prompt class with updated language model parameters.
Return
a new Prompt instance with the specified parameters applied.
Parameters
newParams
the new LLMParams to use for the updated prompt.