• Convert the given value to an OpenAiModel value, if possible.

    Returns

    The OpenAiModel representation of the value, or undefined if the value cannot be converted.

    Parameters

    • value: any

      The value to convert.

    Returns OpenAiModel | undefined

Generated using TypeDoc