Class StreamingChatModelReply.Error

  • All Implemented Interfaces:
    dev.langchain4j.kotlin.model.chat.StreamingChatModelReply

    
    public final class StreamingChatModelReply.Error
     implements StreamingChatModelReply
                        

    Represents an error that occurred during the streaming process when generating a reply from the AI language model. This type of reply is used to indicate a failure in the operation and provides details about the cause of the error.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Throwable cause
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Throwable getCause()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StreamingChatModelReply.Error

        StreamingChatModelReply.Error(Throwable cause)