Skip to main content

agent_step

Function agent_step 

Source
pub fn agent_step(snapshot: &Value, goal: &str, history: &[Value]) -> AgentStep
Expand description

Builds the questions for one step from a snapshot, the goal and the actions taken so far.