AdmittedQuery

org.llm4s.agent.AdmittedQuery
@Experimental

A turn's query after the admission stage, from Agent.admit (#2854): what to hand to whatever stores the turn before the agent runs it. Either way input holds nothing of the query as it was submitted.

Attributes

Source
Agent.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Accepted(input: AgentInput)

The query passed: input holds it as the stages left it.

The query passed: input holds it as the stages left it.

Attributes

Source
Agent.scala
final case class Refused(input: AgentInput, guardrail: String, reason: String)

A stage refused the query: guardrail is its name - a blocking middleware's id - and reason what it gave, which is nowhere else. input holds no query: a turn started with it ends AgentStatus.Blocked(guardrail, None).

A stage refused the query: guardrail is its name - a blocking middleware's id - and reason what it gave, which is nowhere else. input holds no query: a turn started with it ends AgentStatus.Blocked(guardrail, None).

Attributes

Source
Agent.scala