Asking
org.llm4s.agent.graph.tool.AgentTool.Asking
abstract class Asking[A, Q, Ans](base: AgentToolSpec[A])(implicit evidence$1: ReadWriter[Q], evidence$2: ReadWriter[Ans]) extends AgentTool[A]
A tool that asks questions of type Q and takes answers of type Ans. Its spec is base with that question declared, so the loop encodes Ask(q) and decodes the answer with these codecs, then calls resume.
Attributes
- Graph
-
- Supertypes
Members list
In this article