Interface ContentChunk

All Known Implementing Classes:
DocumentURLChunk, ImageURLChunk, ReferenceChunk, TextChunk

public interface ContentChunk
Represents a part of the message content. The content of a message can be composed of multiple chunks of different types.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the type identifier for this content chunk.
  • Method Details

    • getType

      String getType()
      Gets the type identifier for this content chunk.
      Returns:
      The type string (e.g., "text", "image_url").