(BaseTool): name = "add" description = "Adds two numbers together" args_schema: Optional[Type[BaseModel]] = AddInput return_direct: bool = True def _run( self, a: int, b: int, ) -> int: return a + b add_tool = AddTool() print(add_tool.name) print(add_tool.description) ...
Run the "compile" from ms-springboot-324-ai compile OR ./compile (Runs in Linux and Mac OS) mvn clean; mvn -e package; (All Platforms) Use the IDE Compile options 1.2.2 What the "Compile" Script will do Clean up the target folder Generate the build no. and build date (takes appl...
the “run” function is invoked with the object. The math problem that we want to solve is provided within the “run” function. As we want to do the addition of two numbers here, we specify the statement as “
Run the "compile" from ms-springboot-324-ai compile OR ./compile (Runs in Linux and Mac OS) mvn clean; mvn -e package; (All Platforms) Use the IDE Compile options 1.2.2 What the "Compile" Script will do Clean up the target folder Generate the build no. and build date (takes appl...