Class KnowledgeCutoffDate

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

    
    public final class KnowledgeCutoffDate
     implements PromptContributor
                        

    Well-known prompt contributor for knowledge cutoff date. Valuable if the knowledge cutoff date is known. 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.
      final LocalDate getDate()
      String contribution() Return the string content of the contribution.
      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