Class CurrentDate

  • All Implemented Interfaces:
    com.embabel.common.ai.prompt.PromptContributor , com.embabel.common.ai.prompt.PromptElement

    
    public final class CurrentDate
     implements PromptContributor
                        

    Expose the current date as a prompt contributor. Added by Embabel agent platform.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getRole() Role defaults to class simple name.
      String contribution() Based on ChatGPT default system prompt
      String toString()
      • Methods inherited from class com.embabel.common.ai.prompt.PromptElement

        getPromptContributionLocation
      • Methods inherited from class com.embabel.common.ai.prompt.PromptContributor

        promptContribution
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait