Class Llama2ChatDialog

java.lang.Object
ai.picovoice.picollm.PicoLLMDialog
ai.picovoice.picollm.Llama2ChatDialog

public class Llama2ChatDialog extends PicoLLMDialog
Represents a dialog helper specific for `llama-2-7b-chat`, `llama-2-13b-chat`, and `llama-2-70b-chat` models.
  • Method Details

    • getPrompt

      public String getPrompt() throws PicoLLMException
      Generates a formatted prompt string based on the dialog's content and configured settings.
      Overrides:
      getPrompt in class PicoLLMDialog
      Returns:
      A formatted prompt string.
      Throws:
      PicoLLMException - If there's an issue generating the prompt.