Llm Reference
An LLmReference exposes tools and is a prompt contributor. The prompt contribution might describe how to use the tools or can include relevant information directly. Consider, for example, a reference to an API which is so small it's included in the prompt, versus a large API which must be accessed via tools. The reference name is used in a strategy for tool naming, so should be fairly short. Description may be more verbose. If you want a custom naming strategy, use a ToolObject directly, and add the PromptContributor separately.
Inheritors
Properties
Functions
Return the string content of the contribution.
Convenience extension so callers can write reference.prefixedTools() instead of LlmReference.prefixedTools(reference).
Return the instances of tool object. Defaults to this
A safe prefix for LLM tools associated with this reference. Defaults to the name lowercased with spaces replaced by underscores. Subclasses can override it
Convert this reference to a reference exposing a single unfolding tool. Does not rewrap an unfolding reference. Thus repeated calls to this method are safe.
Convert this reference to a reference exposing a single unfolding tool, with progressively-disclosed detail attached.