AgentBlueprintProtocol. BoundsAlgebra. Bound
(Agent Blueprint Protocol v1.1.0)
Copy Markdown
View Source
This struct represents one named bound and its value.
Use it when inspecting a bound in a validated bound set.
This module does not authorize operations.
Example
%AgentBlueprintProtocol.BoundsAlgebra.Bound{name: :max_tokens, class: :operational, unit: :token, value: 1000}
Summary
Functions
Reports whether the first bound is strictly narrower than the second.
Types
Functions
Reports whether the first bound is strictly narrower than the second.
Example
narrower = %AgentBlueprintProtocol.BoundsAlgebra.Bound{
name: :max_tokens,
class: :operational,
unit: :token,
value: 100
}
wider = %{narrower | value: 200}
AgentBlueprintProtocol.BoundsAlgebra.Bound.narrower(narrower, wider)