Skip to main content

Module request

Module request 

Source
Expand description

Request and response types that flow through the guardrail pipeline.

Structs§

ChatMessage
A single message in the conversation.
GuardrailRequest
The normalized, provider-agnostic representation of an LLM request.
ImageUrl
An image referenced by URL.

Enums§

ContentPart
A single content part in a multi-part message.
MessageContent
The content of a message — either plain text or a list of content parts.
Provider
The upstream LLM provider.
Role
The role of a message author.