pipelines.agent.tools
Agent tool utilities
fromdocs
fromdocs (target, config)
*Creates a tool from method documentation.
Args: target: target object or function config: tool configuration
Returns: Tool*
FunctionTool
FunctionTool (config)
Creates a FunctionTool. A FunctionTool takes descriptive configuration and injects it along with a target function into an LLM prompt.
createtool
createtool (target, config=None)
*Creates a new Tool.
Args: target: target object or function config: optional tool configuration
Returns: Tool*
VectorStoreTool
VectorStoreTool (name:str, description:str, store:onprem.ingest.base.VectorStore)
Tool to execute an VectorStore search.