Commit 1276f83
committed
pkg/aflow: add ability to generate several candidate replies for LLM agents
Add LLMAgent.Candidates parameter.
If set to a value N>1, then the agent is invoked N times,
and all outputs become slices.
The results can be later aggregated by another agent,
as shown in the test.1 parent a9fc522 commit 1276f83
File tree
6 files changed
+497
-74
lines changed- pkg/aflow
- trajectory
6 files changed
+497
-74
lines changed
0 commit comments