public class GenerativeAiInferenceSseHelper extends Object
GenerativeAiInferenceSseHelper class implements the static function that processes the server-sent events
Modifier and Type | Field and Description |
---|---|
static Function<InputStream,ChatResult> |
chatResultReader
Processes the server-sent events
|
static Function<InputStream,GenerateTextResult> |
generateTextResultReader
Processes the server-sent events
|
Constructor and Description |
---|
GenerativeAiInferenceSseHelper() |
public static final Function<InputStream,GenerateTextResult> generateTextResultReader
Processes the server-sent events
public static final Function<InputStream,ChatResult> chatResultReader
Processes the server-sent events
Copyright © 2016–2024. All rights reserved.