Spring Resource
data class SpringResource constructor(val resourcePath: String, val name: String = resourcePath, val description: String = "Spring resource at ") : LlmReferenceProvider, LlmReference
Contents of a Spring resource as an LlmReference. Read and held in memory.
Properties
Functions
Link copied to clipboard
Convert this reference to a MatryoshkaReference, exposing a single tool object that supports nesting. Do not rewrap a MatryoshkaReference. Thus repeated calls to this method are safe.
Link copied to clipboard
Link copied to clipboard
Create an LLM reference
Link copied to clipboard
Return the instances of tool object. Defaults to this
Link copied to clipboard
Create a tool object for this reference.
Link copied to clipboard
A safe prefix for LLM tools associated with this reference. Defaults to the name lowercased with spaces replaced by underscores. Subclasses can override it