Skip to main content

FileLogger

Helper class that provides a standard way to create an ABC using inheritance. Parameters:

Instance Methods

get_connection

Method is intentionally left blank because there is no specific connection needed for the FileLogger.

log_chat_completion

Log a chat completion. Parameters:

log_event

Log an event from an agent or a string source. Parameters:

log_function_use

Log a registered function(can be a tool) use from an agent or a string source. Parameters:

log_new_agent

Log a new agent instance. Parameters:

log_new_client

Log a new client instance. Parameters:

log_new_wrapper

Log a new wrapper instance. Parameters:

start

Start the logger and return the session_id.

stop

Close the file handler and remove it from the logger.