Interface PromptTemplate


  • public interface PromptTemplate
    Interface for prompt template
    • Method Detail

      • getParameters

        List<ParameterView> getParameters()
        Get the list of parameters required by the template, using configuration and template info
        Returns:
        List of parameters
      • renderAsync

        reactor.core.publisher.Mono<String> renderAsync​(SKContext executionContext)
        Render the template using the information in the context
        Parameters:
        executionContext - Kernel execution context helpers
        Returns:
        Prompt rendered to string