Dagger.LLMMessageOriginKind (dagger v1.0.0-beta.19)

Copy Markdown View Source

EXPERIMENTAL: Agent APIs are likely to change.

Who put a message on the conversation record.

Summary

Functions

Another agent: the message was sent from within that agent's turn.

The engine, reporting a subscribed agent's lifecycle transition.

The user: a prompt submitted by a client rather than sent by an agent.

Types

t()

@type t() :: :USER | :AGENT | :EVENT

Functions

agent()

@spec agent() :: :AGENT

Another agent: the message was sent from within that agent's turn.

event()

@spec event() :: :EVENT

The engine, reporting a subscribed agent's lifecycle transition.

user()

@spec user() :: :USER

The user: a prompt submitted by a client rather than sent by an agent.