Interface TextCompletion

  • All Superinterfaces:
    AIService

    public interface TextCompletion
    extends AIService
    Interface for text completion services
    • Method Detail

      • completeAsync

        reactor.core.publisher.Mono<List<String>> completeAsync​(String text,
                                                                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