Dagger.AgentGroup (dagger v1.0.0-beta.13)

Copy Markdown View Source

Dagger.AgentGroup

Summary

Functions

Compose all selected agent middlewares onto a base LLM, in alphabetical module:fn order, and return the composed LLM.

A unique identifier for this AgentGroup.

Return a list of individual agents and their details

Types

t()

@type t() :: %Dagger.AgentGroup{client: term(), query_builder: term()}

Functions

compose(agent_group, optional_args \\ [])

@spec compose(t(), [{:base, Dagger.LLM.t() | nil}]) :: Dagger.LLM.t()

Compose all selected agent middlewares onto a base LLM, in alphabetical module:fn order, and return the composed LLM.

id(agent_group)

@spec id(t()) :: {:ok, String.t()} | {:error, term()}

A unique identifier for this AgentGroup.

list(agent_group)

@spec list(t()) :: {:ok, [Dagger.Agent.t()]} | {:error, term()}

Return a list of individual agents and their details