类 HelloWorldAgent

java.lang.Object
com.example.helloworld.HelloWorldAgent

public class HelloWorldAgent extends Object
实现了一个简单的代理程序(agent),该程序可以掷骰子,并判断掷出的数字是否为质数。
  • 字段详情

    • ROOT_AGENT

      public static final LlmAgent ROOT_AGENT
  • 方法详细信息(Method Details)

    • rollDie

      public static com.google.common.collect.ImmutableMap<String,Object> rollDie(int sides, ToolContext toolContext)
    • checkPrime

      public static com.google.common.collect.ImmutableMap<String,Object> checkPrime(List<Integer> nums)