agent.yaml 601 B

123456789101112131415161718192021222324
  1. name: MathAgent
  2. description: "Solves simple and complex math problems using python"
  3. container: python:3.12.3-bookworm
  4. inputs:
  5. task: string
  6. outputs:
  7. answer: string
  8. examples:
  9. - inputs:
  10. task: "What is 2 + 2?"
  11. outputs:
  12. answer: "4"
  13. - inputs:
  14. task: "What is the area of a circle with radius 7.324 inches?"
  15. output:
  16. answer: "168.518 square inches"
  17. - inputs:
  18. task: "What day of the week is 2099-01-01?"
  19. outputs:
  20. answer: "Saturday"
  21. - inputs:
  22. task: "What is the integral of sin(x^2) evaluated from -1 to 1?"
  23. outputs:
  24. answer: "0.603848"