Interface ObjectCreator

  • All Implemented Interfaces:
    com.embabel.agent.api.common.PromptRunner.Creating

    @Deprecated(message = "Use PromptRunner.Creating instead", replaceWith = @ReplaceWith(imports = {"com.embabel.agent.api.common.PromptRunner.Creating"}, expression = "PromptRunner.Creating<T>")) 
    public interface ObjectCreator<T extends Object>
     implements PromptRunner.Creating<T>
                        

    Interface to create objects of the given type from a prompt or messages. Allows setting strongly typed examples.

    • 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
      • Methods inherited from class com.embabel.agent.api.common.PromptRunner.Creating

        fromMessages, fromPrompt, fromTemplate, withExample, withExample, withExamples, withExamples, withProperties, withPropertyFilter, withValidation, withoutProperties, withoutValidation
      • Methods inherited from class java.lang.Object

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

    • Method Detail