events
Class info¶
Classes¶
| Name | Children | Inherits |
|---|---|---|
| ConnectionEventData llmling_agent.messaging.events Event from connection activity. |
🛈 DocStrings¶
Event sources for LLMling agent.
ConnectionEventData
¶
Bases: EventData
Event from connection activity.
Source code in src/llmling_agent/messaging/events.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | |
connection
instance-attribute
¶
connection: Talk[TTransmittedData]
The connection which fired the event.
connection_name
instance-attribute
¶
connection_name: str
Name of the connection which fired an event.
message
class-attribute
instance-attribute
¶
message: ChatMessage[TTransmittedData] | None = None
The message at the stage of the event.
to_prompt
¶
to_prompt() -> str
Convert event to agent prompt.
Source code in src/llmling_agent/messaging/events.py
34 35 36 37 38 39 | |