Interface StructuredPromptFactory

  • All Implemented Interfaces:

    
    public interface StructuredPromptFactory
    
                        

    Represents a factory for structured prompts.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Prompt toPrompt(Object structuredPrompt) Converts the given structured prompt to a prompt.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • toPrompt

         abstract Prompt toPrompt(Object structuredPrompt)

        Converts the given structured prompt to a prompt.

        Parameters:
        structuredPrompt - the structured prompt.
        Returns:

        the prompt.