-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Summary
Add a ReActStep struct with llm tags and a typed ReActParser to the
agents/react package.
Changes
- Add
ReActStepstruct withllmtags for reasoning, action, input and final answer - Add
ReActParseras a typed instantiation ofjsonout.NewParser[ReActStep]
Struct
type ReActStep struct {
Reasoning string json:"reasoning" llm:"reasoning,think"
Action string json:"action" llm:"action,required"
Input string json:"input" llm:"action_input,required"
Answer string json:"answer" llm:"final_answer,optional"
}
Depends On
- jsonout must support the
llmtag withthink,required, andoptionaloptions
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request