Convert the given value to an OpenAiModel value, if possible.
OpenAiModel
The OpenAiModel representation of the value, or undefined if the value cannot be converted.
undefined
The value to convert.
Generated using TypeDoc
Convert the given value to an
OpenAiModel
value, if possible.Returns
The
OpenAiModel
representation of the value, orundefined
if the value cannot be converted.