Skip to content

Commit

Permalink
feat: add export step to knowledge
Browse files Browse the repository at this point in the history
  • Loading branch information
adeprez committed Oct 14, 2024
1 parent ddaabc7 commit 2c43980
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lavague-sdk/lavague/sdk/trajectory/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,13 @@ def deserialize_action(cls, values: Dict[str, Any]) -> Dict[str, Any]:
return values


class StepKnowledge(ActionWrapper):
instruction: Instruction


class StepCompletion(ActionWrapper):
run_status: RunStatus
run_mode: RunMode


class StepKnowledge(ActionWrapper):
instruction: Instruction
def to_knowledge(self, instruction: Instruction) -> StepKnowledge:
return StepKnowledge(instruction=instruction, action=self.action)

0 comments on commit 2c43980

Please sign in to comment.