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.
-
-
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
-
-