Class LlamaSpaceStationResponse

java.lang.Object
edu.tufts.hrilab.unity.space_station.llm.LlamaSpaceStationResponse

public class LlamaSpaceStationResponse extends Object
  • Field Details

  • Constructor Details

    • LlamaSpaceStationResponse

      public LlamaSpaceStationResponse()
  • Method Details

    • fromString

      public static LlamaSpaceStationResponse fromString(String s)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toParserResponse

      public ParserResponse toParserResponse()
    • toPredicate

      public String toPredicate(String actor)
      Takes the object and produces a predicate string containing a dialog action goal predicate.
      Parameters:
      actor - The name of the actor being instructed
      Returns:
      string containing the goal predicate
    • toDialogGoal

      public String toDialogGoal(String actor, String predicate)