Skip to main content

DialectId

Type Alias DialectId 

Source
pub type DialectId = Dialect;
Expand description

Identity is bound to the protocol’s stable, serializable dialect enum.

Aliased Type§

pub enum DialectId {
    OpenAi,
    Claude,
    Gemini,
    OpenAiChat,
    OpenAiResponsesWebSocket,
}

Variants§

§

OpenAi

OpenAI’s shape for the operation; Responses for content generation.

§

Claude

Claude’s shape for the operation; Messages for content generation.

§

Gemini

Gemini’s shape for the operation; GenerateContent for content generation.

§

OpenAiChat

OpenAI Chat Completions, for conversation operations only.

§

OpenAiResponsesWebSocket

Responses over a websocket, for conversation operations only. The envelope layer unwraps onto Dialect::OpenAi’s Responses pairs and wraps the result back; this variant owns no transform pairs of its own.