TelegramRetrieveTool

TelegramRetrieveTool(**kwargs)

Retrieves messages from a Telegram channel.
Initialize the TelegramRetrieveTool.

Parameters:
NameDescription
**kwargs

Instance Attributes

description



func



function_schema


Get the schema for the function.
This is the old way of handling function calls with OpenAI and compatible frameworks.
It is provided for backward compatibility.

name



realtime_tool_schema


Get the schema for the tool.
This is the preferred way of handling function calls with OpeaAI and compatible frameworks.

tool_schema


Get the schema for the tool.
This is the preferred way of handling function calls with OpeaAI and compatible frameworks.

Instance Methods

register_for_execution

register_for_execution(*args, **kwargs) -> 

Call self as a function.

Parameters:
NameDescription
*args
**kwargs

register_for_llm

register_for_llm(*args, **kwargs) -> 

Call self as a function.

Parameters:
NameDescription
*args
**kwargs

register_tool

register_tool(*args, **kwargs) -> 

Call self as a function.

Parameters:
NameDescription
*args
**kwargs