MCPcopy Create free account

hub / github.com/danikhan632/Auto-GPT-Messages-Plugin / functions

Functions26 in github.com/danikhan632/Auto-GPT-Messages-Plugin

Method__init__
(self)
src/auto_gpt_messages_plugin/__init__.py:20
Method__init__
(self)
src/auto_gpt_messages_plugin/messages.py:5
Methodcan_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
Methodcan_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
Methodcan_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
Methodcan_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
Methodcan_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
Methodcan_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
Methodcan_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
Methodcan_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
Methodcan_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
Methodcan_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
Methodget_messages
(self, num_messages=10, sent=True, formatted=True)
src/auto_gpt_messages_plugin/messages.py:27
Methodget_person_messages
(self, person, num_messages=10, sent=True, formatted=True, is_name=True)
src/auto_gpt_messages_plugin/messages.py:32
Methodget_recent_contacts
(self, num_contacts=10)
src/auto_gpt_messages_plugin/messages.py:37
Methodhandle_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
Methodon_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
Methodon_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
Methodon_response
This method is called when a response is received from the model.
src/auto_gpt_messages_plugin/__init__.py:95
Methodpost_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
Methodpost_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
Methodpost_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
Methodpost_prompt
(self, prompt: PromptGenerator)
src/auto_gpt_messages_plugin/__init__.py:28
Methodpre_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
Methodpre_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
Methodsend_message
(self, recipient, message)
src/auto_gpt_messages_plugin/messages.py:12