Container utilities for data models and type definitions used throughout the maxim sdk.
Name | Type | Description |
---|---|---|
metadata | Optional[Dict[str,Any]] | Metadata to initialize from |
Name | Description |
---|---|
str | id of the container |
Name | Description |
---|---|
str | type of the container |
Name | Description |
---|---|
bool | True if the container has been created, False otherwise |
Name | Description |
---|---|
[Container](/sdk/python/references/logger/models/container) | parent container |
Name | Description |
---|---|
[Generation](/sdk/python/references/logger/components/generation) | Generation object |
Name | Description |
---|---|
[ToolCall](/sdk/python/references/models/prompt) | ToolCall object |
Name | Type | Description |
---|---|---|
event_id | str | Unique identifier for the event. |
name | str | Name of the event. |
tags | Dict[str, str] | Additional key-value pairs to associate with the event. |
Name | Description |
---|---|
[Span](/sdk/python/references/logger/components/span) | Span object |
Name | Description |
---|---|
[Retrieval](/sdk/python/references/logger/components/retrieval) | Retrieval object |
Name | Type | Description |
---|---|---|
tags | Optional[Dict[str,str]] | Tags to add |
Name | Type | Description |
---|---|---|
error | GenerationError | Error to add |
Name | Type | Description |
---|---|---|
input | str | Input to set |
Name | Type | Description |
---|---|---|
output | str | Output to set |
Name | Type | Description |
---|---|---|
metadata | Optional[Dict[str,str]] | Metadata to add |
Name | Description |
---|---|
[Generation](/sdk/python/references/logger/components/generation) | Generation object |