Class ReactiveExecutor<R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest>
- java.lang.Object
-
- bg.codexio.ai.openai.api.sdk.images.ImageConfigurationStage<R>
-
- bg.codexio.ai.openai.api.sdk.images.ReactiveExecutor<R>
-
- All Implemented Interfaces:
RuntimeExecutor
public class ReactiveExecutor<R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest> extends ImageConfigurationStage<R> implements RuntimeExecutor
Reactive context to choose if the response image should be automatically downloaded or just delivered. Strongly recommended to use this only if a true reactive runtime is present, such as Reactor Netty.
-
-
Field Summary
-
Fields inherited from class bg.codexio.ai.openai.api.sdk.images.ImageConfigurationStage
builder, executor
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Flux<File>download(File targetFolder)reactor.core.publisher.Mono<bg.codexio.ai.openai.api.payload.images.response.ImageDataResponse>get()
-