Class DecisionModelInputUtils.Transcript

java.lang.Object
dev.langchain4j.internal.DecisionModelInputUtils.Transcript
Enclosing class:
DecisionModelInputUtils

public static final class DecisionModelInputUtils.Transcript extends Object
A conversation as one map per message, and the contents other than text it refers to, in order.
  • Method Details

    • messages

      public List<Map<String,Object>> messages()
    • media

      public Map<String,Content> media()
      The images, audio, video and PDF files the transcript refers to, keyed by the marker that refers to them, such as [image 1] or [pdf 1], in the order they appear in the conversation.
    • images

      public List<ImageContent> images()
      The images the transcript refers to, in order: the image referred to as [image n] is at index n - 1.