Class MistralChatDialog

java.lang.Object
ai.picovoice.picollm.PicoLLMDialog
ai.picovoice.picollm.MistralChatDialog
Direct Known Subclasses:
MixtralChatDialog

public class MistralChatDialog extends PicoLLMDialog
Represents a dialog helper specific for `mistral-7b-instruct-v0.1` and `mistral-7b-instruct-v0.2` 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.