portia.open_source_tools.llm_tool
Tool for responding to prompts and completing tasks that don't require other tools.
LLMToolSchema Objects
class LLMToolSchema(BaseModel)
Input for LLM Tool.
LLMTool Objects
class LLMTool(Tool[str])
General purpose LLM tool. Customizable to user requirements. Won't call other tools.
run
def run(ctx: ToolRunContext, task: str) -> str
Run the LLMTool.