Interface TextCompletion

    • Method Detail

      • completeAsync

        reactor.core.publisher.Mono<List<String>> completeAsync​(@Nonnull
                                                                String text,
                                                                @Nonnull
                                                                CompletionRequestSettings requestSettings)
        Creates a completion for the prompt and settings.
        Parameters:
        text - The prompt to complete.
        requestSettings - Request settings for the completion API
        Returns:
        Text generated by the remote model