Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danikhan632/Auto-GPT-Messages-Plugin
/ functions
Functions
26 in github.com/danikhan632/Auto-GPT-Messages-Plugin
⨍
Functions
26
◇
Types & classes
3
Method
__init__
(self)
src/auto_gpt_messages_plugin/__init__.py:20
Method
__init__
(self)
src/auto_gpt_messages_plugin/messages.py:5
Method
can_handle_chat_completion
This method is called to check that the plugin can handle the chat_completion method. Args: messages (List[Message]): Th
src/auto_gpt_messages_plugin/__init__.py:216
Method
can_handle_on_instruction
This method is called to check that the plugin can handle the on_instruction method. Returns: bool: True if the plugin can
src/auto_gpt_messages_plugin/__init__.py:148
Method
can_handle_on_planning
This method is called to check that the plugin can handle the on_planning method. Returns: bool: True if the plugin can ha
src/auto_gpt_messages_plugin/__init__.py:99
Method
can_handle_on_response
This method is called to check that the plugin can handle the on_response method. Returns: bool: True if the plugin can ha
src/auto_gpt_messages_plugin/__init__.py:88
Method
can_handle_post_command
This method is called to check that the plugin can handle the post_command method. Returns: bool: True if the plugin can h
src/auto_gpt_messages_plugin/__init__.py:199
Method
can_handle_post_instruction
This method is called to check that the plugin can handle the post_instruction method. Returns: bool: True if the plugin c
src/auto_gpt_messages_plugin/__init__.py:164
Method
can_handle_post_planning
This method is called to check that the plugin can handle the post_planning method. Returns: bool: True if the plugin can
src/auto_gpt_messages_plugin/__init__.py:116
Method
can_handle_post_prompt
This method is called to check that the plugin can handle the post_prompt method. Returns: bool: True if the plugin can ha
src/auto_gpt_messages_plugin/__init__.py:81
Method
can_handle_pre_command
This method is called to check that the plugin can handle the pre_command method. Returns: bool: True if the plugin can ha
src/auto_gpt_messages_plugin/__init__.py:180
Method
can_handle_pre_instruction
This method is called to check that the plugin can handle the pre_instruction method. Returns: bool: True if the plugin ca
src/auto_gpt_messages_plugin/__init__.py:132
Method
get_messages
(self, num_messages=10, sent=True, formatted=True)
src/auto_gpt_messages_plugin/messages.py:27
Method
get_person_messages
(self, person, num_messages=10, sent=True, formatted=True, is_name=True)
src/auto_gpt_messages_plugin/messages.py:32
Method
get_recent_contacts
(self, num_contacts=10)
src/auto_gpt_messages_plugin/messages.py:37
Method
handle_chat_completion
This method is called when the chat completion is done. Args: messages (List[Message]): The messages. model (str): The
src/auto_gpt_messages_plugin/__init__.py:67
Method
on_instruction
This method is called when the instruction chat is done. Args: messages (List[Message]): The list of context messages. Ret
src/auto_gpt_messages_plugin/__init__.py:155
Method
on_planning
This method is called before the planning chat completion is done. Args: prompt (PromptGenerator): The prompt generator.
src/auto_gpt_messages_plugin/__init__.py:106
Method
on_response
This method is called when a response is received from the model.
src/auto_gpt_messages_plugin/__init__.py:95
Method
post_command
This method is called after the command is executed. Args: command_name (str): The command name. response (str): The r
src/auto_gpt_messages_plugin/__init__.py:206
Method
post_instruction
This method is called after the instruction chat is done. Args: response (str): The response. Returns: str: Th
src/auto_gpt_messages_plugin/__init__.py:171
Method
post_planning
This method is called after the planning chat completion is done. Args: response (str): The response. Returns:
src/auto_gpt_messages_plugin/__init__.py:123
Method
post_prompt
(self, prompt: PromptGenerator)
src/auto_gpt_messages_plugin/__init__.py:28
Method
pre_command
This method is called before the command is executed. Args: command_name (str): The command name. arguments (Dict[str,
src/auto_gpt_messages_plugin/__init__.py:187
Method
pre_instruction
This method is called before the instruction chat is done. Args: messages (List[Message]): The list of context messages. R
src/auto_gpt_messages_plugin/__init__.py:139
Method
send_message
(self, recipient, message)
src/auto_gpt_messages_plugin/messages.py:12