Package com.embabel.agent.api.reference
Class WebPage
-
- All Implemented Interfaces:
-
com.embabel.agent.api.reference.LlmReference,com.embabel.agent.api.reference.LlmReferenceProvider,com.embabel.common.ai.prompt.PromptContributor,com.embabel.common.ai.prompt.PromptElement,com.embabel.common.core.types.Described,com.embabel.common.core.types.Named,com.embabel.common.core.types.NamedAndDescribed
public final class WebPage implements LlmReferenceProvider, LlmReference
Reference for the contents of a web page. Works only if fetch tool is available. See CoreToolGroups.WEB
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringurlprivate final Stringnameprivate final Stringdescriptionprivate final StringTransformernamingStrategyprivate final PromptContributionLocationpromptContributionLocationprivate final Stringrole
-
Method Summary
Modifier and Type Method Description final StringgetUrl()StringgetName()StringgetDescription()LlmReferencereference()Create an LLM reference Stringnotes()Notes about this reference, such as usage guidance. -
Methods inherited from class com.embabel.agent.api.reference.LlmReference
asMatryoshka, contribution, getNamingStrategy, toolInstances, toolObject, toolPrefix, tools, withUnfolding -
Methods inherited from class com.embabel.common.ai.prompt.PromptElement
getPromptContributionLocation, getRole -
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
-
-
Method Detail
-
getDescription
String getDescription()
-
reference
LlmReference reference()
Create an LLM reference
-
-
-
-