Package com.embabel.agent.spi
Interface LlmUse
-
- All Implemented Interfaces:
-
com.embabel.agent.core.ToolGroupConsumer,com.embabel.common.ai.prompt.PromptContributorConsumer
public interface LlmUse implements PromptContributorConsumer, ToolGroupConsumer
Spec for calling an LLM. Optional LlmOptions, plus tool groups and prompt contributors.
-
-
Method Summary
Modifier and Type Method Description abstract LlmOptionsgetLlm()abstract BooleangetGenerateExamples()Whether to generate examples for the prompt. abstract Predicate<String>getPropertyFilter()Filter that determines which properties to include when creating objects. -
Methods inherited from class com.embabel.common.ai.prompt.PromptContributorConsumer
getPromptContributors -
Methods inherited from class com.embabel.agent.core.ToolGroupConsumer
getToolGroups -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getLlm
abstract LlmOptions getLlm()
-
getGenerateExamples
abstract Boolean getGenerateExamples()
Whether to generate examples for the prompt. Defaults to unknown: Set to false if generating your own examples.
-
getPropertyFilter
abstract Predicate<String> getPropertyFilter()
Filter that determines which properties to include when creating objects.
-
-
-
-