Categories A listing of all the topics we cover organized in one place.

CleverPrompt

An advanced framework that combines automatic Dynamic Domain-specific Knowledge Aquisition (DDKA), and intelligent task orchestration while virtually eliminating hallucinations. It extracts insights from unstructured text, builds a knowledge graph aligned with a defined ontology, and parses requests to identify actions, route tasks, and coordinate with external systems or LLMs.

LLMs simpler and cheaper

Natural Language Routing
  @predicate("The action the user wishes the agent to take.")
  class Action(Enum):
      @object("A reminder to do some event")
      def REMINDER(self) -> int:
          return 1
      @object("Not a reminder to do some event, but rather a conversation about a scientific or\
               academic topic.")
      def CONVERSATION_ACADEMIC(self) -> int:
          return 2
      @object("Not a reminder to do some event, but a question about an existing reminder.")
      def CONVERSATION_REMINDER(self) -> int:
          return 3
      @object("Not a reminder to do some event, and not a conversation about an existing reminder and\
               not a conversation about a scientific or academic topic.")
      def CONVERSATION_OTHER(self) -> int:
          return 4

  @router(when={"description": "The date and/or time the action should take place.", "type": datetime},
          multimatching=False, 
          prompt=Prompt, 
          action=Action)
  class RouterExample:
      @endpoint(action="A reminder to do some event.", when="In the future.")
      def routeReminder(self, action: Action, when: datetime) -> str:
          // Set reminder...
          return "Reminder has been set"

      @endpoint(action="A reminder to do some event.", when="Not in the future.")
      def routeReminderHistoric(self, action: Action, when: datetime) -> str:
          return "Reminder is in the past, therefore can not be set."

      @endpoint(action="Not a reminder to do some event.", prompt="Any non-empty prompt.")
      def routeConversation(self, action: Action, prompt: str) -> str:
          return callLLM(prompt)

      @endpoint(catchall=True)
      def unhandled(self, prompt: str) -> str:
          return "Sorry I didn't understand you, can you repeat what you said."
Easy PII Compliance
  @router(when={"description": "The date and/or time the action should take place.", "type": datetime},
          multimatching=False, 
          prompt=Prompt, 
          action=Action)
  class RouterExample:
      @filter(P2Filter, anonymize = True, anonymize_key = "...")
      @endpoint(action="A reminder to do some event.", when="In the future.")
      def routeReminder(self, action: Action, when: datetime) -> str:
          // Set reminder, PII data is pre-anonymized for you
          return "Reminder has been set"