Class DefaultStructuredPromptFactory

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      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

      • DefaultStructuredPromptFactory

        DefaultStructuredPromptFactory()
        Create a default structured prompt factory.
    • Method Detail

      • toPrompt

         Prompt toPrompt(Object structuredPrompt)

        Converts the given structured prompt to a prompt.

        Parameters:
        structuredPrompt - the structured prompt.
        Returns:

        the prompt.