Sample needed for TTMSFNCCloudAI.Settings.CustomOptions

Hello,

I'm using TTMSFNCCloudOpenAI to interact with OpenAI/ChatGPT and MistralAI.
I would like to set additional parameters like TopP and PresencePenalty in the request.

I understand that the Settings.CustomOptions property is intended for passing such custom parameters.
Could you please provide an example of how to correctly use CustomOptions to include for example TopP and PresencePenalty in the API request?

You'd use it to set the JSON for the custom options, i.e. something like

"TopP":"yourvalue","PresencePenalty":"yourvalue"