🌓

API Reference

FunctionCallingEngine

The main class of the tiny_fnc_engine library.

Methods:

reset_session()

The reset_session() method is used to clear the stored outputs from previous function calls. This is useful when you want to start a new sequence of function calls without any interference from previous results. For example:

engine = FunctionCallingEngine()
# ... perform some function calls ...
engine.reset_session()  # Clear all stored outputs
# ... start a new sequence of function calls ...