Class Phi2Dialog

java.lang.Object
ai.picovoice.picollm.PicoLLMDialog
ai.picovoice.picollm.Phi2Dialog
Direct Known Subclasses:
Phi2ChatDialog, Phi2QADialog

public class Phi2Dialog extends PicoLLMDialog
Represents a dialog helper for the 'phi-2' model within PicoLLM. This is a base class that provides functionalities common to both 'chat' and 'qa' modes
  • Constructor Details

    • Phi2Dialog

      protected Phi2Dialog(String humanTag, String llmTag, Integer history, String system)
      Constructs a Phi2Dialog instance with the specified history, system, human tag, and LLM tag.
      Parameters:
      humanTag - The tag representing human input.
      llmTag - The tag representing LLM output.
      history - The history length for the dialog.
      system - The system instruction for configuring the model's responses.
  • Method Details