CompositeLLMTools

class CompositeLLMTools(toolCollections: Iterable<LLMTools>) : LLMTools

A composite of multiple LLMTools instances, which allows for invoking tools across multiple collections.

Constructors

Link copied to clipboard
constructor(toolCollections: Iterable<LLMTools>)

Functions

Link copied to clipboard
open operator override fun invoke(request: ToolRequest): Result<ToolResponse, LLMError>
Link copied to clipboard
open override fun list(): Result<List<LLMTool>, LLMError>
Link copied to clipboard
operator fun LLMTools.plus(that: LLMTools): LLMTools