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 PromptMessage(msgspec.Struct): (source)

View In Hierarchy

One prompt message with a protocol-defined role.

Class Variable content Content blocks carried by this protocol value.
Class Variable role Role assigned to this message in the conversation.

Content blocks carried by this protocol value.

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

Role assigned to this message in the conversation.