Mojentic.LLM.Tools.TellUser (Mojentic v1.2.0)

Copy Markdown View Source

Tool for displaying messages to the user without expecting a response.

This tool allows the LLM to send important intermediate information to the user as it works on completing their request. It's useful for providing status updates, progress information, or other important messages during long-running operations.

Examples

alias Mojentic.LLM.Tools.TellUser

tool = TellUser.new()
{:ok, result} = TellUser.run(tool, %{"message" => "Processing your request..."})
# Prints to stdout:
#
#
#
# MESSAGE FROM ASSISTANT:
# Processing your request...
#
# Returns: {:ok, "Message delivered to user."}

Summary

Functions

Creates a new TellUser tool instance.

Functions

new()

Creates a new TellUser tool instance.