Package com.sap.ai.sdk.foundationmodels.openai.model

# Interface OpenAiChatMessage.OpenAiChatUserMessage.ContentPart

All Known Implementing Classes:
  `OpenAiChatMessage.OpenAiChatUserMessage.ContentPartImage`, `OpenAiChatMessage.OpenAiChatUserMessage.ContentPartText`

Enclosing class:
  `OpenAiChatMessage.OpenAiChatUserMessage`

public static interface OpenAiChatMessage.OpenAiChatUserMessage.ContentPart
Content part, can be of type `text` or `image_url` when passing in images.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getType()`
  Get the type of the content part.

- ## Method Details

  - ### getType

    @Nonnull String getType()
    Get the type of the content part.
    Returns:
      The type of the content part as string.