Class ReactiveStreamingDefaults

java.lang.Object
dev.langchain4j.reactive.streaming.ReactiveStreamingDefaults

public final class ReactiveStreamingDefaults extends Object
Shared defaults for the reactive (Flow.Publisher) streaming path used by streaming chat model providers.
  • Field Details

    • DEFAULT_BUFFER_SIZE

      public static final int DEFAULT_BUFFER_SIZE
      Default size of the bounded back-pressure buffer for the reactive streaming publisher (see HttpStreamingChatPublisher). A follow-up may make this configurable per provider.
      See Also: