ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

class documentation

class SamplingMessage(msgspec.Struct): (source)

Known subclasses: orionis.mcp.protocol.input_shapes.SamplingResult

View In Hierarchy

Wire-only deprecated sampling message.

Class Variable content Content blocks carried by this protocol value.
Class Variable meta Meta produced by msgspec.field.
Class Variable role Role assigned to this message in the conversation.

Content blocks carried by this protocol value.

meta: dict[str, object] | msgspec.UnsetType = (source)

Meta produced by msgspec.field.

role: Literal['user', 'assistant'] = (source)

Role assigned to this message in the conversation.