OpenAICompletionParam: {
    role:
        | "function"
        | "user"
        | "system"
        | "tool"
        | "assistant";
    content?:
        | undefined
        | null
        | string
        | (ChatCompletionContentPartText | ChatCompletionContentPartRefusal)[]
        | ChatCompletionContentPartText[]
        | ChatCompletionContentPart[];
}

Type declaration