MCPcopy Create free account
hub / github.com/Forethought-Technologies/AutoChain / UserMessage

Class UserMessage

autochain/agent/message.py:27–35  ·  view source on GitHub ↗

Type of message that is spoken by the human.

Source from the content-addressed store, hash-verified

25
26
27class UserMessage(BaseMessage):
28 """Type of message that is spoken by the human."""
29
30 example: bool = False
31
32 @property
33 def type(self) -> str:
34 """Type of the message, used for serialization."""
35 return "user"
36
37
38class AIMessage(BaseMessage):

Callers 14

get_next_user_queryMethod · 0.90
save_conversationMethod · 0.90
convert_dict_to_messageFunction · 0.90
format_promptMethod · 0.90
load_json_outputMethod · 0.90
should_answerMethod · 0.90
fix_action_inputMethod · 0.90
test_chat_completionFunction · 0.90

Calls

no outgoing calls