Class Conversation

java.lang.Object
rocks.imsofa.ai.puppychatter.Conversation
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
FileCachedConversation, ToolCallRequestConversation, ToolCallResponseConversation

public class Conversation extends Object implements Cloneable
a conversation message
Author:
USER
  • Field Details

    • role

      protected String role
    • content

      protected String content
  • Constructor Details

    • Conversation

      public Conversation(String role, String content)
    • Conversation

      public Conversation()
  • Method Details

    • getRole

      public String getRole()
    • setRole

      public void setRole(String role)
    • getContent

      public String getContent()
    • setContent

      public void setContent(String content)
    • clone

      public Conversation clone()
      Overrides:
      clone in class Object