An immutable record representing a specific point in the agent's invocation. It captures agent's replies, requests to use tools (function calls), and tool results. This structure is a simple projection of the actual `Event` datamodel that is intended for the Eval System.
| 52 | |
| 53 | |
| 54 | class InvocationEvent(EvalBaseModel): |
| 55 | """An immutable record representing a specific point in the agent's invocation. |
| 56 | |
| 57 | It captures agent's replies, requests to use tools (function calls), and tool |
| 58 | results. |
| 59 | |
| 60 | This structure is a simple projection of the actual `Event` datamodel that |
| 61 | is intended for the Eval System. |
| 62 | """ |
| 63 | |
| 64 | author: str |
| 65 | """The name of the agent that authored/owned this event.""" |
| 66 | |
| 67 | content: Optional[genai_types.Content] |
| 68 | """The content of the event.""" |
| 69 | |
| 70 | |
| 71 | class InvocationEvents(EvalBaseModel): |
no outgoing calls