toOpenAIContentPart

Converts a core ContentPart to an OpenAI content part.

Return

The corresponding OpenAIChatCompletionContentPart.