Class ReactiveStreamingDefaults
java.lang.Object
dev.langchain4j.reactive.streaming.ReactiveStreamingDefaults
Shared defaults for the reactive (
Flow.Publisher) streaming path used by streaming chat model providers.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault size of the bounded back-pressure buffer for the reactive streaming publisher (seeHttpStreamingChatPublisher). -
Method Summary
-
Field Details
-
DEFAULT_BUFFER_SIZE
public static final int DEFAULT_BUFFER_SIZEDefault size of the bounded back-pressure buffer for the reactive streaming publisher (seeHttpStreamingChatPublisher). A follow-up may make this configurable per provider.- See Also:
-